gtk2/gdk
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
..
linux-fb Use asynchronously _gdk_x11_set_input_focus_safe to avoid having to trap 2003-07-05 01:54:05 +00:00
win32 gdk/win32/gdkinput-win32.h Drop the GdkEvent* parameter, it wasn't used. 2003-08-07 22:17:18 +00:00
x11 Reset the toplevel->have_* flags before iterating over the _NET_WM_STATE 2003-08-07 21:11:35 +00:00
.cvsignore dear cvs, please SHUT UP love, -kris 2003-07-09 17:57:51 +00:00
COPYING [ Merges from gtk-1-2 ] 1999-09-28 20:19:13 +00:00
gdk.c g_set_prgname("<unknown>") if argc is 0 as well, instead of leaving it 2003-08-01 19:28:19 +00:00
gdk.def gdk/gdk.def Add missing function, trivially implement. 2003-08-07 03:30:38 +00:00
gdk.h Deprecate gtk_paned_computed_position(). (#97077) 2003-01-31 00:08:35 +00:00
gdkcolor.c Add "Since" information. 2002-12-06 00:10:20 +00:00
gdkcolor.h add -DGDK_DISABLE_DEPRECATED 2002-11-17 22:04:03 +00:00
gdkconfig.h.win32 Massive changes. Too many to list here, but I'll try a summary: 2002-02-17 00:25:05 +00:00
gdkcursor.c Renames: 2002-06-20 23:59:27 +00:00
gdkcursor.h Check for Xcursor. 2003-06-30 22:30:54 +00:00
gdkdisplay.c Merge from stable. 2003-07-09 18:00:21 +00:00
gdkdisplay.h Use asynchronously _gdk_x11_set_input_focus_safe to avoid having to trap 2003-07-05 01:54:05 +00:00
gdkdisplaymanager.c Document 2.2 API additions. 2002-11-28 00:33:17 +00:00
gdkdisplaymanager.h Renames: 2002-06-20 23:59:27 +00:00
gdkdnd.c Fix doc comment. 2002-10-25 00:01:15 +00:00
gdkdnd.h docs/reference/gdk/tmpl/dnd.sgml docs/reference/gdk/tmpl/drawing.sgml 2002-11-08 19:41:50 +00:00
gdkdraw.c Document 2.2 API additions. 2002-11-28 00:33:17 +00:00
gdkdrawable.h add -DGDK_DISABLE_DEPRECATED 2002-11-17 22:04:03 +00:00
gdkevents.c Fix for the case when gdk_event_copy() is called on a non-allocated event. 2003-04-18 21:24:43 +00:00
gdkevents.h Add a 'type' parameter, make public. 2002-10-03 20:53:30 +00:00
gdkfont.c Add "Since" information. 2002-12-06 00:10:20 +00:00
gdkfont.h add -DGDK_DISABLE_DEPRECATED 2002-11-17 22:04:03 +00:00
gdkgc.c add -DG_DISABLE_DEPRECATED and -DGDK_PIXBUF_DISABLE_DEPRECATED to compile 2002-09-25 07:23:55 +00:00
gdkgc.h Start of integration of Erwann Chenede's multihead work from the 2002-04-25 22:29:14 +00:00
gdkglobals.c Add a --screen option for setting the default screen. (Based on a patch 2002-10-31 21:12:23 +00:00
gdki18n.h Deprecate GtkPreviewType, GtkSignalRunType, GtkSideType, 2002-01-30 02:01:10 +00:00
gdkimage.c add -DG_DISABLE_DEPRECATED and -DGDK_PIXBUF_DISABLE_DEPRECATED to compile 2002-09-25 07:23:55 +00:00
gdkimage.h Fix docs. (#66383) 2001-12-06 21:38:12 +00:00
gdkinput.h docs/reference/gdk/tmpl/dnd.sgml docs/reference/gdk/tmpl/drawing.sgml 2002-11-08 19:41:50 +00:00
gdkinternals.h Add a --screen option for setting the default screen. (Based on a patch 2002-10-31 21:12:23 +00:00
gdkintl.h Add a singleton object that we can use to get notification when displays 2002-06-20 23:29:19 +00:00
gdkkeynames.c Patch from Vasilis Vasaitis to fix Greek_IOTAdi[a]eresis inconsistency and 2003-05-14 21:46:59 +00:00
gdkkeys.c Associate the keys_changed virtual function with the keys_changed signal. 2003-02-19 19:32:10 +00:00
gdkkeys.h Add a keys_changed signal emitted when the keymap changes. (#72148) 2002-09-23 21:35:00 +00:00
gdkkeysyms.h Patch from Vasilis Vasaitis to fix Greek_IOTAdi[a]eresis inconsistency and 2003-05-14 21:46:59 +00:00
gdkkeyuni.c Patch from Vasilis Vasaitis to fix Greek_IOTAdi[a]eresis inconsistency and 2003-05-14 21:46:59 +00:00
gdkmarshalers.list New demo for window migration between different displays and screens. 2002-08-01 23:43:13 +00:00
gdkpango.c When drawing underlines, join up adjacent runs where possible, so we don't 2003-06-04 23:47:23 +00:00
gdkpango.h Start of integration of Erwann Chenede's multihead work from the 2002-04-25 22:29:14 +00:00
gdkpixbuf-drawable.c swap G and B. Fixes (#114669) 2003-06-08 16:15:16 +00:00
gdkpixbuf-render.c Deprecate. (#60582) 2003-01-31 00:37:38 +00:00
gdkpixbuf.h Deprecate. (#60582) 2003-01-31 00:37:38 +00:00
gdkpixmap.c update to allow a GdkDrawable instead of a GdkWindow. 2002-12-09 23:34:49 +00:00
gdkpixmap.h update to allow a GdkDrawable instead of a GdkWindow. 2002-12-09 23:34:49 +00:00
gdkpoly-generic.h Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkpolyreg-generic.c Fix some reported (but not significant) UMR's from purify. (#73160, Morten 2002-03-01 22:01:51 +00:00
gdkprivate.h Make gdkx.h the only installed header from gdk/x11. All structures in 2001-09-07 21:50:20 +00:00
gdkproperty.h Start of integration of Erwann Chenede's multihead work from the 2002-04-25 22:29:14 +00:00
gdkrectangle.c Update to use the new g_boxed_type_register_static API. 2001-09-10 16:54:07 +00:00
gdkregion-generic.c ----:---F1 gdkregion-generic.c (CGTK CVS:1.11 Abbrev)--L1696--96%---------Fri Aug 2 16:38:34 2002 Owen Taylor <otaylor@redhat.com> 2002-08-02 20:39:40 +00:00
gdkregion-generic.h (Part 2) Remove gdk_*_lookup() defines, since they are defined by the 2000-07-24 16:19:00 +00:00
gdkregion.h use _gdk_region_get_xrectangles() 2001-03-02 20:02:17 +00:00
gdkrgb.c added a missing cast. 2003-06-02 14:14:41 +00:00
gdkrgb.h Start of integration of Erwann Chenede's multihead work from the 2002-04-25 22:29:14 +00:00
gdkscreen.c gdk/gdkscreen.c (gdk_screen_get_monitor_at_point) Provide a useful 2002-12-14 05:27:23 +00:00
gdkscreen.h Add a --screen option for setting the default screen. (Based on a patch 2002-10-31 21:12:23 +00:00
gdkselection.c Start implementing display/screen closing scheme; keep a flag for whether 2002-08-01 15:28:40 +00:00
gdkselection.h docs/reference/gdk/tmpl/dnd.sgml docs/reference/gdk/tmpl/drawing.sgml 2002-11-08 19:41:50 +00:00
gdktypes.h Start of integration of Erwann Chenede's multihead work from the 2002-04-25 22:29:14 +00:00
gdkvisual.c Renames: 2002-06-20 23:59:27 +00:00
gdkvisual.h Changes multihead reorganizing code for win32 support, mostly from a patch 2002-06-06 00:26:42 +00:00
gdkwindow.c Merge from stable. 2003-07-09 18:00:21 +00:00
gdkwindow.h add -DGDK_DISABLE_DEPRECATED 2002-11-17 22:04:03 +00:00
makeenums.pl Add GdkEventSetting event for notification of changes to system settings, 2001-04-02 23:33:47 +00:00
Makefile.am Only include the Default and Emacs themes' gtkrc files. Include 2003-05-27 18:36:19 +00:00
makefile.msc new file to build it all ... added to EXTRA_DIST 2003-07-20 15:50:14 +00:00
testgdk.c Update. 2000-10-09 19:49:42 +00:00