gtk2/gdk/win32
Tor Lillqvist 09f777e5ea Fix for #108007, #112402, #117042: There was confusion in gdk/win32 at
2003-07-29  Tor Lillqvist  <tml@iki.fi>

	Fix for #108007, #112402, #117042: There was confusion in
	gdk/win32 at various places whether a window position refers to
	the decoration position or the client area position. Also whether
	window size includes decorations or not.

	The correct interpretation apparently is that in GDK (like in
	X11), a top-level window position means the decoration's position,
	but size means the window's inner size (client area size). In the
	Win32 API, the window size usually includes the decorations,
	though.

	* gdk/win32/gdkevents-win32.c (decode_key_lparam): Move inside
	#ifdef G_ENABLE_DEBUG.
	(handle_configure_event): New function, generates GDK_CONFIGURE
	events from WM_SIZE and WM_MOVE messages. Even if no event is
	generated because of the event mask, still set the private
	position and size fields. Calculate position and size correctly.
	(gdk_event_translate): Call handle_configure_event().

	* gdk/win32/gdkgeometry-win32.c: Cosmetics.

	* gdk/win32/gdkwindow-win32.c: Use GDI_CALL() and API_CALL()
	macros. Cosmetic debugging output changes.
	(SafeAdjustWindowRectEx): Remove. If an application wants to
	locate a window outside of the screen, it's not GDK's business to
	prevent it. And anyway, with multiple monitors, negative
	coordinates are perfectly normal.
	(gdk_window_new): Adjust the window size for decorations after
	_gdk_window_init_position() has done its job. (But the big window
	code currently is presumably broken on Win32 anyway.)
	(gdk_window_move): The position passed in is supposed to be that
	of the window border, so don't need to adjust for decorations.
	(gdk_window_resize, gdk_window_move_resize): Simplify somewhat.
2003-07-29 23:35:40 +00:00
..
rc Use correct DLL and import library names, with GTK_API_VERSION in name, 2003-01-05 02:24:15 +00:00
.cvsignore Remove conftest* after use along the lines of AC_TRY_COMPILE. 2000-09-05 14:07:55 +00:00
bdfcursor.c Update. Mention the gtk-1-3-win32-production branch. 2001-02-23 03:51:41 +00:00
gdkcolor-win32.c Fixes from #98358, Havoc Pennington. 2002-11-25 22:52:36 +00:00
gdkcursor-win32.c Fix for #111028, thanks to J. Ali Harlow, who writes: I found that the 2003-06-28 01:12:51 +00:00
gdkdisplay-win32.c Add missing entries, needed by gtk. 2002-11-16 21:51:47 +00:00
gdkdnd-win32.c New function, callback proc for EnumWindows(). 2003-06-30 21:58:24 +00:00
gdkdrawable-win32.c We can calculate the width and height of the bounding rectangle only after 2003-07-04 00:23:03 +00:00
gdkdrawable-win32.h Massive changes. Too many to list here, but I'll try a summary: 2002-02-17 00:25:05 +00:00
gdkevents-win32.c Fix for #108007, #112402, #117042: There was confusion in gdk/win32 at 2003-07-29 23:35:40 +00:00
gdkfont-win32.c Trivial cleanups (bug #107664) 2003-03-08 20:49:00 +00:00
gdkgc-win32.c New function, callback proc for EnumWindows(). 2003-06-30 21:58:24 +00:00
gdkgeometry-win32.c Fix for #108007, #112402, #117042: There was confusion in gdk/win32 at 2003-07-29 23:35:40 +00:00
gdkglobals-win32.c gdk/win32/gdkprivate-win32.h New flags _gdk_input_locale_is_ime and 2003-07-26 01:54:59 +00:00
gdkim-win32.c Massive changes. Too many to list here, but I'll try a summary: 2002-02-17 00:25:05 +00:00
gdkimage-win32.c Fix for #111028, thanks to J. Ali Harlow, who writes: I found that the 2003-06-28 01:12:51 +00:00
gdkinput-win32.c New function, callback proc for EnumWindows(). 2003-06-30 21:58:24 +00:00
gdkinput-win32.h Bug #107664 continued: 2003-03-08 21:11:39 +00:00
gdkinput.c Add missing entries, needed by gtk. 2002-11-16 21:51:47 +00:00
gdkkeys-win32.c gdk/win32/gdkprivate-win32.h New flags _gdk_input_locale_is_ime and 2003-07-26 01:54:59 +00:00
gdkmain-win32.c gdk/win32/gdkprivate-win32.h New flags _gdk_input_locale_is_ime and 2003-07-26 01:54:59 +00:00
gdkpango-win32.c Renames: 2002-06-20 23:59:27 +00:00
gdkpixmap-win32.c New function, callback proc for EnumWindows(). 2003-06-30 21:58:24 +00:00
gdkpixmap-win32.h Fix for #111028, thanks to J. Ali Harlow, who writes: I found that the 2003-06-28 01:12:51 +00:00
gdkprivate-win32.h gdk/win32/gdkprivate-win32.h New flags _gdk_input_locale_is_ime and 2003-07-26 01:54:59 +00:00
gdkproperty-win32.c Use g_printf instead of system printf. (#99327) 2002-12-15 01:49:01 +00:00
gdkscreen-win32.c Fixes from #98358, Havoc Pennington. 2002-11-25 22:52:36 +00:00
gdkselection-win32.c New function, callback proc for EnumWindows(). 2003-06-30 21:58:24 +00:00
gdkvisual-win32.c Add missing entries, needed by gtk. 2002-11-16 21:51:47 +00:00
gdkwin32.h Use gdk_window_get_toplevel(), as it is the top-level windows that are 2002-03-19 23:16:08 +00:00
gdkwin32id.c GCompareFunc -> GEqualFunc where applicable. 2000-11-13 13:15:41 +00:00
gdkwindow-win32.c Fix for #108007, #112402, #117042: There was confusion in gdk/win32 at 2003-07-29 23:35:40 +00:00
gdkwindow-win32.h Remove dubious bitfields of unspecified signedness. (#112919, Morten 2003-05-27 21:21:00 +00:00
libie55uuid.la Add headers. Add section about ActiveIMM. 2001-11-08 20:57:18 +00:00
libwntab32x.la Add headers. Add section about ActiveIMM. 2001-11-08 20:57:18 +00:00
Makefile.am Patch from James Henstridge to update to automake-1.7 (#109542) 2003-05-06 21:55:41 +00:00
makefile.msc Changes multihead reorganizing code for win32 support, mostly from a patch 2002-06-06 00:26:42 +00:00
xcursors.h Update. Mention the gtk-1-3-win32-production branch. 2001-02-23 03:51:41 +00:00