forked from AuroraMiddleware/gtk
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)
This commit is contained in:
parent
3d0adf9d4c
commit
e7c9e7d8de
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
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))
|
||||
|
Loading…
Reference in New Issue
Block a user