Commit e7c9e7d8 authored by Tor Lillqvist's avatar Tor Lillqvist Committed by Tor Lillqvist

If blitting from the root window, take the multi-monitor offset into

2005-05-26  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkdrawable-win32.c (_gdk_win32_blit): If blitting
	from the root window, take the multi-monitor offset into
	account. (#305511)
parent 3d0adf9d
2005-05-26 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkdrawable-win32.c (_gdk_win32_blit): If blitting
from the root window, take the multi-monitor offset into
account. (#305511)
2005-05-25 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/appwindow.c (do_appwindow): Set the window
......
2005-05-26 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkdrawable-win32.c (_gdk_win32_blit): If blitting
from the root window, take the multi-monitor offset into
account. (#305511)
2005-05-25 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/appwindow.c (do_appwindow): Set the window
......
2005-05-26 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkdrawable-win32.c (_gdk_win32_blit): If blitting
from the root window, take the multi-monitor offset into
account. (#305511)
2005-05-25 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/appwindow.c (do_appwindow): Set the window
......
......@@ -1731,6 +1731,16 @@ _gdk_win32_blit (gboolean use_fg_bg,
xdest, ydest,
use_fg_bg));
/* If blitting from the root window, take the multi-monitor offset
* into account.
*/
if (src == ((GdkWindowObject *)_gdk_root)->impl)
{
GDK_NOTE (MISC, g_print ("... offsetting src coords\n"));
xsrc -= _gdk_offset_x;
ysrc -= _gdk_offset_y;
}
draw_impl = (GdkDrawableImplWin32 *) drawable;
if (GDK_IS_DRAWABLE_IMPL_WIN32 (src))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment