Take multi-monitor offset into account. (#302525)

2005-04-30  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkdnd-win32.c (gdk_dropfiles_filter): Take
	multi-monitor offset into account. (#302525)
This commit is contained in:
Tor Lillqvist 2005-04-30 17:50:00 +00:00 committed by Tor Lillqvist
parent acfa692931
commit 20f9c58edb
4 changed files with 17 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-04-30 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkdnd-win32.c (gdk_dropfiles_filter): Take
multi-monitor offset into account. (#302525)
2005-04-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkradioaction.c: Make the docs build. (#302230,

View File

@ -1,3 +1,8 @@
2005-04-30 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkdnd-win32.c (gdk_dropfiles_filter): Take
multi-monitor offset into account. (#302525)
2005-04-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkradioaction.c: Make the docs build. (#302230,

View File

@ -1,3 +1,8 @@
2005-04-30 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkdnd-win32.c (gdk_dropfiles_filter): Take
multi-monitor offset into account. (#302525)
2005-04-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkradioaction.c: Make the docs build. (#302230,

View File

@ -987,8 +987,8 @@ gdk_dropfiles_filter (GdkXEvent *xev,
DragQueryPoint (hdrop, &pt);
ClientToScreen (msg->hwnd, &pt);
event->dnd.x_root = pt.x;
event->dnd.y_root = pt.y;
event->dnd.x_root = pt.x + _gdk_offset_x;
event->dnd.y_root = pt.y + _gdk_offset_y;
event->dnd.time = _gdk_win32_get_next_tick (msg->time);
nfiles = DragQueryFile (hdrop, 0xFFFFFFFF, NULL, 0);