If the WM_TRANSIENT_FOR property is being deleted, set the owner of the

2004-01-25  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkproperty-win32.c (gdk_property_delete): If the
	WM_TRANSIENT_FOR property is being deleted, set the owner of the
	window to the root window (i.e., effectively unset it). (#132411)

	* gdk/win32/gdkprivate-win32.h
	* gdk/win32/gdkglobals-win32.c
	* gdk/win32/gdkmain-win32.c: Declare, define and initialize
	_wm_transient_for, a GdkAtom for WM_TRANSIENT_FOR.

	* acconfig.h: Remove HAVE_WINSOCK_H, not used any longer.
This commit is contained in:
Tor Lillqvist
2004-01-25 22:19:40 +00:00
committed by Tor Lillqvist
parent 20aa49061f
commit 15567341f1
10 changed files with 88 additions and 11 deletions

View File

@ -499,6 +499,8 @@ extern GdkAtom _gdk_ole2_dnd;
extern GdkAtom _gdk_selection_property;
extern GdkAtom _wm_transient_for;
extern DWORD _windows_version;
#define IS_WIN_NT() (_windows_version < 0x80000000)