aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/WMWindowCopyRect.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'win/rfb_win32/WMWindowCopyRect.cxx')
-rw-r--r--win/rfb_win32/WMWindowCopyRect.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rfb_win32/WMWindowCopyRect.cxx b/win/rfb_win32/WMWindowCopyRect.cxx
index 7655da84..4d69d54b 100644
--- a/win/rfb_win32/WMWindowCopyRect.cxx
+++ b/win/rfb_win32/WMWindowCopyRect.cxx
@@ -45,7 +45,7 @@ rfb::win32::WMCopyRect::processEvent() {
if (IsWindow(window) && IsWindowVisible(window) && GetWindowRect(window, &wrect)) {
Rect winrect(wrect.left, wrect.top, wrect.right, wrect.bottom);
if (fg_window == window) {
- if (!fg_window_rect.tl.equals(winrect.tl) && ut) {
+ if (fg_window_rect.tl != winrect.tl && ut) {
// 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)