gtk/gdk/win32
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
..
rc Remove all .cvsignore files. 2007-12-13 11:18:45 +00:00
bdfcursor.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
cursor.bdf Committing changes to the source bdf font file that I forgot to commit 2007-08-17 03:40:39 +00:00
gdkapplaunchcontext-win32.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdkcolor-win32.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdkcursor-win32.c Bug 544684 - Win64 issue, window handles are assumed to be 32-bit 2008-08-04 23:21:36 +00:00
gdkdisplay-win32.c Don't bother looking up EnumDisplayMonitors and GetMonitorInfoA 2008-08-03 23:05:37 +00:00
gdkdnd-win32.c Bug 544684 - Win64 issue, window handles are assumed to be 32-bit 2008-08-04 22:35:16 +00:00
gdkdrawable-win32.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdkdrawable-win32.h Cleanup. (#169648, Fabricio Barros Cabral) 2005-06-12 05:32:25 +00:00
gdkevents-win32.c Bug 132501 - Make utility window translate to tool window in win32 2008-10-05 00:00:10 +00:00
gdkfont-win32.c Bug 544684 - Win64 issue, window handles are assumed to be 32-bit 2008-08-04 23:21:36 +00:00
gdkgc-win32.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdkgeometry-win32.c Bug 541305 – [Win32] Scrolling was broken after GdkWindow refactoring 2008-07-02 20:22:30 +00:00
gdkglobals-win32.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdkim-win32.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdkimage-win32.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdkinput-win32.c Bug 540861 - invalid UTF-8 in input device name 2008-07-03 22:11:38 +00:00
gdkinput-win32.h Remove. (gdk_device_get_type): Drop class init function. The X11 version 2007-02-19 00:32:32 +00:00
gdkinput.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdkkeys-win32.c Implement trivially on Windows. Not sure if something more complex is 2008-10-01 11:02:22 +00:00
gdkmain-win32.c Bug 132501 - Make utility window translate to tool window in win32 2008-10-05 00:00:10 +00:00
gdkpixmap-win32.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdkpixmap-win32.h Cleanup. (#169648, Fabricio Barros Cabral) 2005-06-12 05:32:25 +00:00
gdkprivate-win32.h Bug 132501 - Make utility window translate to tool window in win32 2008-10-05 00:00:10 +00:00
gdkproperty-win32.c Bug 544684 - Win64 issue, window handles are assumed to be 32-bit 2008-08-04 23:01:32 +00:00
gdkscreen-win32.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdkselection-win32.c Bug 544684 - Win64 issue, window handles are assumed to be 32-bit 2008-08-04 22:43:57 +00:00
gdkspawn-win32.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdktestutils-win32.c New file, dummy implementations. 2007-11-25 22:25:18 +00:00
gdkvisual-win32.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdkwin32.h define __GDK_H_INSIDE__ around including all other headers. 2008-05-28 14:01:57 +00:00
gdkwin32id.c Bug 544684 - Win64 issue, window handles are assumed to be 32-bit 2008-08-04 23:21:36 +00:00
gdkwindow-win32.c Bug 132501 - Make utility window translate to tool window in win32 2008-10-05 00:00:10 +00:00
gdkwindow-win32.h gdk/win32/gdkprivate-win32.h gdk/win32/gdkevents-win32.c 2008-02-05 16:47:24 +00:00
libwntab32x.la Add headers. Add section about ActiveIMM. 2001-11-08 20:57:18 +00:00
Makefile.am Implement GAppLaunchContext in gdk, providing startup notification. 2007-12-13 05:16:33 +00:00
makefile.msc updated fix c99ism (variable at start of block export functions for window 2008-05-23 20:29:27 +00:00
pktdef.h Build Wintab support always on Windows. Don't require the Wintab SDK. 2007-01-19 01:55:52 +00:00
wintab.h Build Wintab support always on Windows. Don't require the Wintab SDK. 2007-01-19 01:55:52 +00:00
xcursors.h Bug 544684 - Win64 issue, window handles are assumed to be 32-bit 2008-08-04 23:21:36 +00:00