forked from AuroraMiddleware/gtk
55d7d50e13
2008-10-04 Tor Lillqvist <tml@novell.com> Bug 132501 - Make utility window translate to tool window in win32 Implement the utility window type hint. Such windows are kept on top of other windows. Makes GIMP's toolbox and dock windows behave more like in GNOME under metacity. Apply the same logic also to windows marked with the dialog window type hint, and windows that are transient for some other window. I'll call such windows "transient-type" below. * gdk/win32/gdkevents-win32.c (doesnt_want_key): Drop unused variables. (ensure_stacking_on_unminimize) (ensure_stacking_on_window_pos_changing) (ensure_stacking_on_activate_app): New functions to implement the desired stacking order. Make sure that a window that is not transient-type stays below any transient-type windows of the application. When activating a non-transient-type window make sure it rises as high as possible. (gdk_event_translate): Call above functions on WM_WINDOWPOSCHANGING, WM_ACTIVATEAPP and on WM_SIZE when unminimizing. Improve debugging printout. * gdk/win32/gdkwindow-win32.c (get_effective_window_decorations): Handle utility windows like toolbar windows. (gdk_window_new_internal) (update_style_bits): Give utility windows the WS_EX_TOOLWINDOW extended style. (gdk_window_set_title): If debugging "misc" or "events", make the handle of top-level windows show up in their title bars. Very useful when looking at debugging output. (gdk_window_set_keep_above) (gdk_window_set_keep_below) (gdk_window_set_modal_hint) (gdk_window_set_skip_taskbar_hint) (gdk_window_set_skip_pager_hint): Add and improve debugging printout. (gdk_window_set_type_hint): Print hint symbolically in GDK_NOTE(). 2008-10-04 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkmain-win32.c (_gdk_win32_window_exstyle_to_string) (_gdk_win32_window_pos_bits_to_string): New debugging printout functions. Decode the WS_EX_* and SWP_* bits. * gdk/win32/gdkprivate-win32.h: Declare them. Define GDK_DEBUG_MISC_OR_EVENTS for use in GDK_NOTE() to match either "misc" or "events". svn path=/trunk/; revision=21587 |
||
---|---|---|
.. | ||
directfb | ||
quartz | ||
tests | ||
win32 | ||
x11 | ||
abicheck.sh | ||
COPYING | ||
gdk.c | ||
gdk.h | ||
gdk.symbols | ||
gdkapplaunchcontext.c | ||
gdkapplaunchcontext.h | ||
gdkcairo.c | ||
gdkcairo.h | ||
gdkcolor.c | ||
gdkcolor.h | ||
gdkconfig.h.win32 | ||
gdkcursor.c | ||
gdkcursor.h | ||
gdkdisplay.c | ||
gdkdisplay.h | ||
gdkdisplaymanager.c | ||
gdkdisplaymanager.h | ||
gdkdnd.c | ||
gdkdnd.h | ||
gdkdraw.c | ||
gdkdrawable.h | ||
gdkenumtypes.c.template | ||
gdkenumtypes.h.template | ||
gdkevents.c | ||
gdkevents.h | ||
gdkfont.c | ||
gdkfont.h | ||
gdkgc.c | ||
gdkgc.h | ||
gdkglobals.c | ||
gdki18n.h | ||
gdkimage.c | ||
gdkimage.h | ||
gdkinput.h | ||
gdkinternals.h | ||
gdkintl.h | ||
gdkkeynames.c | ||
gdkkeys.c | ||
gdkkeys.h | ||
gdkkeysyms-update.pl | ||
gdkkeysyms.h | ||
gdkkeyuni.c | ||
gdkmarshalers.list | ||
gdkmedialib.c | ||
gdkmedialib.h | ||
gdkpango.c | ||
gdkpango.h | ||
gdkpixbuf-drawable.c | ||
gdkpixbuf-render.c | ||
gdkpixbuf.h | ||
gdkpixmap.c | ||
gdkpixmap.h | ||
gdkpoly-generic.h | ||
gdkpolyreg-generic.c | ||
gdkprivate.h | ||
gdkproperty.h | ||
gdkrectangle.c | ||
gdkregion-generic.c | ||
gdkregion-generic.h | ||
gdkregion.h | ||
gdkrgb.c | ||
gdkrgb.h | ||
gdkscreen.c | ||
gdkscreen.h | ||
gdkselection.c | ||
gdkselection.h | ||
gdkspawn.h | ||
gdktestutils.h | ||
gdktypes.h | ||
gdkvisual.c | ||
gdkvisual.h | ||
gdkwindow.c | ||
gdkwindow.h | ||
gdkwindowimpl.c | ||
gdkwindowimpl.h | ||
gen-keyname-table.pl | ||
keyname-table.h | ||
keynames.txt | ||
makeenums.pl | ||
Makefile.am | ||
makefile.msc | ||
makegdkalias.pl | ||
pltcheck.sh | ||
testgdk.c |