diff options
author | Tor Lillqvist <tml@iki.fi> | 2002-12-21 23:32:20 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2002-12-21 23:32:20 +0000 |
commit | eee70b8153e0129cc885abbf6172a274fb6cb97d (patch) | |
tree | 71c3456499a189af37ae0b0c50482b3e8823dc21 /ChangeLog.pre-2-2 | |
parent | e42ddac33f451043c236402840f4a7a986bc8023 (diff) | |
download | gtk+-eee70b8153e0129cc885abbf6172a274fb6cb97d.tar.gz |
Move the code that sets the window style and extended window style, and
2002-12-21 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkwindow-win32.c (gdk_window_new): Move the code that
sets the window style and extended window style, and adjusts the
width and height to take the window decorations into account
earlier. The adjusted width and height used to be ignored. Remove
the local x, y, width and height variables, no need to further
confuse the code by having local copies. (Partial fix, I hope, for
#101588)
(gdk_window_move): When moving top-level windows, take title bar
and border width into account, offsetting the coordinates before
calling SetWindowPos().
(gdk_window_set_decorations, gdk_window_set_functions):
Reimplement, taking into account the peculiar semantics of
GDK_DECOR_ALL and GDK_FUNC_ALL. (#79036)
(gdk_window_get_decorations): Implement. (#98981)
(gdk_window_set_type_hint): When setting
GDK_WINDOW_TYPE_HINT_MENU, call gdk_window_set_decorations().
(#79036)
* gdk/gdk.def: Add gdk_window_get_decorations. (#98981)
Diffstat (limited to 'ChangeLog.pre-2-2')
-rw-r--r-- | ChangeLog.pre-2-2 | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 827fd3542f..4d81341c85 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,29 @@ +2002-12-21 Tor Lillqvist <tml@iki.fi> + + * gdk/win32/gdkwindow-win32.c (gdk_window_new): Move the code that + sets the window style and extended window style, and adjusts the + width and height to take the window decorations into account + earlier. The adjusted width and height used to be ignored. Remove + the local x, y, width and height variables, no need to further + confuse the code by having local copies. (Partial fix, I hope, for + #101588) + + (gdk_window_move): When moving top-level windows, take title bar + and border width into account, offsetting the coordinates before + calling SetWindowPos(). + + (gdk_window_set_decorations, gdk_window_set_functions): + Reimplement, taking into account the peculiar semantics of + GDK_DECOR_ALL and GDK_FUNC_ALL. (#79036) + + (gdk_window_get_decorations): Implement. (#98981) + + (gdk_window_set_type_hint): When setting + GDK_WINDOW_TYPE_HINT_MENU, call gdk_window_set_decorations(). + (#79036) + + * gdk/gdk.def: Add gdk_window_get_decorations. (#98981) + 2002-12-21 Matthias Clasen <maclas@gmx.de> * gtk/gtktextview.c (gtk_text_view_set_background): New static |