diff options
Diffstat (limited to 'win/rfb_win32/WMWindowCopyRect.cxx')
-rw-r--r-- | win/rfb_win32/WMWindowCopyRect.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/win/rfb_win32/WMWindowCopyRect.cxx b/win/rfb_win32/WMWindowCopyRect.cxx index ec6e1fdc..d64c0e31 100644 --- a/win/rfb_win32/WMWindowCopyRect.cxx +++ b/win/rfb_win32/WMWindowCopyRect.cxx @@ -22,10 +22,13 @@ #include <config.h> #endif +#include <core/LogWriter.h> + #include <rfb_win32/WMWindowCopyRect.h> -#include <rfb/LogWriter.h> + #include <windows.h> +using namespace core; using namespace rfb; using namespace rfb::win32; @@ -49,8 +52,8 @@ rfb::win32::WMCopyRect::processEvent() { // Window has moved - mark both the previous and new position as changed // (we can't use add_copied() here because we aren't that properly synced // with the actual state of the framebuffer) - ut->add_changed(Region(winrect)); - ut->add_changed(Region(fg_window_rect)); + ut->add_changed(winrect); + ut->add_changed(fg_window_rect); } } fg_window = window; |