Add multi-monitor offset. (#141842, John Ehresman)

2004-05-05  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkdnd-win32.c (gdk_drag_find_window_for_screen): Add
	multi-monitor offset. (#141842, John Ehresman)
This commit is contained in:
Tor Lillqvist 2004-05-05 02:18:21 +00:00 committed by Tor Lillqvist
parent 9da7e8bde3
commit 25f3824e61
5 changed files with 22 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-05-05 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkdnd-win32.c (gdk_drag_find_window_for_screen): Add
multi-monitor offset. (#141842, John Ehresman)
2004-05-04 Federico Mena Quintero <federico@ximian.com>
Fixes #139562, based on a patch by Christian Neumair.

View File

@ -1,3 +1,8 @@
2004-05-05 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkdnd-win32.c (gdk_drag_find_window_for_screen): Add
multi-monitor offset. (#141842, John Ehresman)
2004-05-04 Federico Mena Quintero <federico@ximian.com>
Fixes #139562, based on a patch by Christian Neumair.

View File

@ -1,3 +1,8 @@
2004-05-05 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkdnd-win32.c (gdk_drag_find_window_for_screen): Add
multi-monitor offset. (#141842, John Ehresman)
2004-05-04 Federico Mena Quintero <federico@ximian.com>
Fixes #139562, based on a patch by Christian Neumair.

View File

@ -1,3 +1,8 @@
2004-05-05 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkdnd-win32.c (gdk_drag_find_window_for_screen): Add
multi-monitor offset. (#141842, John Ehresman)
2004-05-04 Federico Mena Quintero <federico@ximian.com>
Fixes #139562, based on a patch by Christian Neumair.

View File

@ -1362,8 +1362,8 @@ gdk_drag_find_window_for_screen (GdkDragContext *context,
{
find_window_enum_arg a;
a.x = x_root;
a.y = y_root;
a.x = x_root - _gdk_offset_x;
a.y = y_root - _gdk_offset_y;
a.ignore = drag_window ? GDK_WINDOW_HWND (drag_window) : NULL;
a.result = NULL;