]> Pileus Git - ~andy/gtk/commit
Move the code that sets the window style and extended window style, and
authorTor Lillqvist <tml@iki.fi>
Sat, 21 Dec 2002 23:32:20 +0000 (23:32 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Sat, 21 Dec 2002 23:32:20 +0000 (23:32 +0000)
commiteee70b8153e0129cc885abbf6172a274fb6cb97d
tree71c3456499a189af37ae0b0c50482b3e8823dc21
parente42ddac33f451043c236402840f4a7a986bc8023
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)
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/gdk.def
gdk/win32/gdkwindow-win32.c