gtk2/gdk
Tor Lillqvist 55d7d50e13 Bug 132501 - Make utility window translate to tool window in win32
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
2008-10-05 00:00:10 +00:00
..
directfb Avoid a crash 2008-07-18 19:03:54 +00:00
quartz Some aftermath of the fix of bug #543868. Clip and flip to the source, not 2008-08-15 20:27:22 +00:00
tests Use the g_test_*() API for this test reviewed by: Richard Hult 2008-08-15 18:57:31 +00:00
win32 Bug 132501 - Make utility window translate to tool window in win32 2008-10-05 00:00:10 +00:00
x11 remove debug spew 2008-10-01 14:34:12 +00:00
abicheck.sh Commit a patch by Behdad to fix typos, omissions and other errors in the 2006-09-10 06:39:16 +00:00
COPYING [ Merges from gtk-1-2 ] 1999-09-28 20:19:13 +00:00
gdk.c call gdk_rgb_set_verbose(TRUE) if "gdkrgb" is in the debug flags. 2008-08-04 17:17:46 +00:00
gdk.h Add gdk_threads_add_timeout_seconds{_full} 2008-07-31 22:11:44 +00:00
gdk.symbols Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc. 2008-09-29 20:40:45 +00:00
gdkapplaunchcontext.c examples/gtkdial/gtkdial.c gdk/gdkapplaunchcontext.c gdk/gdkpango.c 2008-08-12 09:51:16 +00:00
gdkapplaunchcontext.h remove redundant include, fix indentation, replace header by a GDK 2008-06-21 10:44:26 +00:00
gdkcairo.c Add a note that cairo contexts cannot be cached for handling expose 2008-07-07 00:28:37 +00:00
gdkcairo.h Revert name change 2008-07-01 22:57:50 +00:00
gdkcolor.c Revert name change 2008-07-01 22:57:50 +00:00
gdkcolor.h Revert name change 2008-07-01 22:57:50 +00:00
gdkconfig.h.win32 Define GDK_NATIVE_WINDOW_POINTER on 32-bit Windows, too. It just makes 2008-08-04 22:20:53 +00:00
gdkcursor.c Revert name change 2008-07-01 22:57:50 +00:00
gdkcursor.h Revert name change 2008-07-01 22:57:50 +00:00
gdkdisplay.c Bug 550989 – gdk_display_put_event() should call g_main_context_wakeup() 2008-09-07 00:43:19 +00:00
gdkdisplay.h define __GDK_H_INSIDE__ around including all other headers. 2008-05-28 14:01:57 +00:00
gdkdisplaymanager.c gdk/gdkkeys.c gdk/gdkscreen.c use canonical signal names. 2008-08-11 09:15:37 +00:00
gdkdisplaymanager.h Revert name change 2008-07-01 22:57:50 +00:00
gdkdnd.c Bug 544684 - Win64 issue, window handles are assumed to be 32-bit 2008-08-04 22:35:16 +00:00
gdkdnd.h Bug 544684 - Win64 issue, window handles are assumed to be 32-bit 2008-08-04 22:35:16 +00:00
gdkdraw.c Revert name change 2008-07-01 22:57:50 +00:00
gdkdrawable.h Revert name change 2008-07-01 22:57:50 +00:00
gdkenumtypes.c.template Use templates for glib-mkenums calls instead of complicated commandlines 2007-11-26 17:32:19 +00:00
gdkenumtypes.h.template do not hard code the prefix of the enum, use @ENUMPREFIX@ instead (you 2008-06-23 12:09:15 +00:00
gdkevents.c Bug 551063 – deprecated marking without a link to what new code should 2008-09-06 17:26:33 +00:00
gdkevents.h Bug 56070 – Can't click button after setting it sensitive. 2008-08-01 03:30:50 +00:00
gdkfont.c Revert name change 2008-07-01 22:57:50 +00:00
gdkfont.h Revert name change 2008-07-01 22:57:50 +00:00
gdkgc.c Revert name change 2008-07-01 22:57:50 +00:00
gdkgc.h Revert name change 2008-07-01 22:57:50 +00:00
gdkglobals.c Revert name change 2008-07-01 22:57:50 +00:00
gdki18n.h Revert name change 2008-07-01 22:57:50 +00:00
gdkimage.c Revert name change 2008-07-01 22:57:50 +00:00
gdkimage.h Revert name change 2008-07-01 22:57:50 +00:00
gdkinput.h Revert name change 2008-07-01 22:57:50 +00:00
gdkinternals.h Revert name change 2008-07-01 22:57:50 +00:00
gdkintl.h Revert name change 2008-07-01 22:57:50 +00:00
gdkkeynames.c Revert name change 2008-07-01 22:57:50 +00:00
gdkkeys.c Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc. 2008-09-29 20:40:45 +00:00
gdkkeys.h Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc. 2008-09-29 20:40:45 +00:00
gdkkeysyms-update.pl Revert name change 2008-07-01 22:57:50 +00:00
gdkkeysyms.h Bug 550062 – Small update in gdk/gdkkeysyms.h 2008-09-07 00:54:41 +00:00
gdkkeyuni.c Revert name change 2008-07-01 22:57:50 +00:00
gdkmarshalers.list New demo for window migration between different displays and screens. 2002-08-01 23:43:13 +00:00
gdkmedialib.c Revert name change 2008-07-01 22:57:50 +00:00
gdkmedialib.h Revert name change 2008-07-01 22:57:50 +00:00
gdkpango.c examples/gtkdial/gtkdial.c gdk/gdkapplaunchcontext.c gdk/gdkpango.c 2008-08-12 09:51:16 +00:00
gdkpango.h Revert name change 2008-07-01 22:57:50 +00:00
gdkpixbuf-drawable.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdkpixbuf-render.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdkpixbuf.h Revert name change 2008-07-01 22:57:50 +00:00
gdkpixmap.c Revert name change 2008-07-01 22:57:50 +00:00
gdkpixmap.h Revert name change 2008-07-01 22:57:50 +00:00
gdkpoly-generic.h Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkpolyreg-generic.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdkprivate.h Revert name change 2008-07-01 22:57:50 +00:00
gdkproperty.h Revert name change 2008-07-01 22:57:50 +00:00
gdkrectangle.c Revert name change 2008-07-01 22:57:50 +00:00
gdkregion-generic.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdkregion-generic.h Handle a borderline case correctly 2007-04-18 15:19:58 +00:00
gdkregion.h Revert name change 2008-07-01 22:57:50 +00:00
gdkrgb.c use g_error() instead of a combination of g_warning+exit to avoid 2008-08-07 14:23:07 +00:00
gdkrgb.h Revert name change 2008-07-01 22:57:50 +00:00
gdkscreen.c gdk/gdkkeys.c gdk/gdkscreen.c use canonical signal names. 2008-08-11 09:15:37 +00:00
gdkscreen.h define __GDK_H_INSIDE__ around including all other headers. 2008-05-28 14:01:57 +00:00
gdkselection.c Bug 544684 - Win64 issue, window handles are assumed to be 32-bit 2008-08-04 22:43:57 +00:00
gdkselection.h Bug 544684 - Win64 issue, window handles are assumed to be 32-bit 2008-08-04 22:43:57 +00:00
gdkspawn.h define __GDK_H_INSIDE__ around including all other headers. 2008-05-28 14:01:57 +00:00
gdktestutils.h gdk/gdkapplaunchcontext.h gdk/gdktestutils.h gtk/gtkmountoperation.h 2008-05-30 12:08:30 +00:00
gdktypes.h Revert name change 2008-07-01 22:57:50 +00:00
gdkvisual.c Revert name change 2008-07-01 22:57:50 +00:00
gdkvisual.h Revert name change 2008-07-01 22:57:50 +00:00
gdkwindow.c More doc fixes 2008-09-04 04:32:30 +00:00
gdkwindow.h Revert name change 2008-07-01 22:57:50 +00:00
gdkwindowimpl.c Fix make check 2008-07-04 04:02:35 +00:00
gdkwindowimpl.h Revert name change 2008-07-01 22:57:50 +00:00
gen-keyname-table.pl Generate N_() calls for translatable key names. 2005-06-10 06:41:04 +00:00
keyname-table.h Mark arrow keys as translatable 2006-12-21 05:11:00 +00:00
keynames.txt Mark arrow keys as translatable 2006-12-21 05:11:00 +00:00
makeenums.pl Add GdkEventSetting event for notification of changes to system settings, 2001-04-02 23:33:47 +00:00
Makefile.am define -DGDK_PIXBUF_DISABLE_DEPRECATED in the global CFLAGS. 2008-08-12 15:04:55 +00:00
makefile.msc build gdkwindowimpl 2008-08-01 14:43:22 +00:00
makegdkalias.pl Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
pltcheck.sh Commit a patch by Behdad to fix typos, omissions and other errors in the 2006-09-10 06:39:16 +00:00
testgdk.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00