gtk2/gdk/win32
Tor Lillqvist 5155f3ca66 gdk/win32/gdkinput-win32.h Drop the GdkEvent* parameter, it wasn't used.
2003-08-07  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkinput-win32.h
	* gdk/win32/gdkinput-win32.c (_gdk_input_configure_event,
	_gdk_input_enter_event): Drop the GdkEvent* parameter, it wasn't
	used.

	* gdk/win32/gdkevents-win32.c (gdk_event_translate): Adapt caller
	accordingly, in fact an uninitialised variable was dereferenced.


	[Win32] Add support for multiple monitors.

	* gdk/win32/gdkprivate-win32.h
	* gdk/win32/gdkglobals-win32.c: New global variables for
	multiple-monitor info: _gdk_num_monitors, _gdk_monitors, and
	_gdk_offset_x and _gdk_offset_y.

	* gdk/win32/gdkdisplay-win32.c (count_monitor, enum_monitor): New
	functions, enumeration functions passed to EnumDisplayMonitors().

	(gdk_display_open): If the EnumDisplayMonitors() and
	GetMonitorInfo() API is present (on Win98, Win2000 and newer), use
	if to find out monitor info.

	Calculate the offset between Win32 coordinates (relative to the
	primary monitor's origin (and thus negative on monitors to the
	left of or above it), and GDK's (visible coordinates should be
	non-negative).

	* gdk/win32/gdkscreen-win32 (gdk_screen_get_n_monitors,
	gdk_screen_get_monitor_geometry): Use information collected above.

	(gdk_window_move, gdk_window_move_resize_window_get_geometry):
	Subtract _gdk_offset_{x,y} from GDK root window coordinates.

	(gdk_window_get_geometry, gdk_window_get_origin,
	gdk_window_get_frame_extents): For top-level windows, add
	_gdk_offset_{x,y} to GDK root window coordinates

	Still need to handle multiple monitors in
	gdk_window_fullscreen(). Probably should make the window
	fullscreen on the monitor where the cursor is?

	* gdk/win32/gdkevents-win32.c: Add _gdk_offset_{x,y} to all GDK
	root window coordinates in GdkEvents.


	[Win32] Fix geometry hint handling. Add support for resize
	increment and base size, and aspect ratio geometry hints. The
	"gridded geometry" test in testgtk now works beautifully.

	* gdk/win32/gdkwindow-win32.c (gdk_window_set_geometry_hints):
	Turns out this function shouldn't actually ever modify the
	window's size, just store the hints. (Old code kept for a while
	inside #if 0.)

	(gdk_window_set_hints): Remove presumably broken code that handles
	the position hints, this function is obsolete anyway.

	* gdk/win32/gdkevents-win32.c: Drop the current_{x,y}_root
	variables, not used.

	(adjust_drag): New function, used to implement resize increment
	hints.

	(gdk_event_translate): Handle WM_SIZING, implement resize
	increment and base size, and aspect ratio geometry hints here. The
	WM_GETMINMAXINFO handler takes care of the minimum and maximum
	size hints as before. Fix the WM_GETMINMAXINFO handler to take
	into account window decorations. No need to modify the
	ptMaxPosition and ptMaxSize fields in the MINMAXINFO struct,
	the defaults are fine.

	* gdk/win32/gdkprivate-win32.h
	* gdk/win32/gdkwindow-win32.c (_gdk_win32_adjust_client_rect,
	_gdk_win32_get_adjusted_client_rect): New helper functions.
2003-08-07 22:17:18 +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 gdk/win32/gdkinput-win32.h Drop the GdkEvent* parameter, it wasn't used. 2003-08-07 22:17:18 +00:00
gdkdnd-win32.c New function, callback proc for EnumWindows(). 2003-06-30 21:58:24 +00:00
gdkdrawable-win32.c set HWND_NOTOPMOST for modal==FALSE, fixes bug #118435 2003-08-05 22:24:35 +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 gdk/win32/gdkinput-win32.h Drop the GdkEvent* parameter, it wasn't used. 2003-08-07 22:17:18 +00:00
gdkfont-win32.c gdk/gdk.def Add missing function, trivially implement. 2003-08-07 03:30:38 +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/gdkinput-win32.h Drop the GdkEvent* parameter, it wasn't used. 2003-08-07 22:17:18 +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 gdk/win32/gdkinput-win32.h Drop the GdkEvent* parameter, it wasn't used. 2003-08-07 22:17:18 +00:00
gdkinput-win32.h gdk/win32/gdkinput-win32.h Drop the GdkEvent* parameter, it wasn't used. 2003-08-07 22:17:18 +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 initialize bits to 0 (probably default on NT) 2003-08-06 22:13:48 +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/gdkinput-win32.h Drop the GdkEvent* parameter, it wasn't used. 2003-08-07 22:17:18 +00:00
gdkproperty-win32.c Use g_printf instead of system printf. (#99327) 2002-12-15 01:49:01 +00:00
gdkscreen-win32.c gdk/win32/gdkinput-win32.h Drop the GdkEvent* parameter, it wasn't used. 2003-08-07 22:17:18 +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 gdk/win32/gdkinput-win32.h Drop the GdkEvent* parameter, it wasn't used. 2003-08-07 22:17:18 +00:00
gdkwindow-win32.h set HWND_NOTOPMOST for modal==FALSE, fixes bug #118435 2003-08-05 22:24:35 +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