vmojzis / rpms / tigervnc

Forked from rpms/tigervnc 3 years ago
Clone
455d814
diff -up tigervnc-1.3.0/vncviewer/Viewport.cxx.cursor tigervnc-1.3.0/vncviewer/Viewport.cxx
455d814
--- tigervnc-1.3.0/vncviewer/Viewport.cxx.cursor	2013-12-17 13:28:23.170400013 +0000
455d814
+++ tigervnc-1.3.0/vncviewer/Viewport.cxx	2013-12-17 13:29:46.095784064 +0000
455d814
@@ -248,7 +248,7 @@ void Viewport::setCursor(int width, int height, const Point& hotspot,
455d814
     }
455d814
   }
455d814
455d814
-  if (Fl::belowmouse() == this)
455d814
+  if (Fl::belowmouse() == this && cursor)
455d814
     window()->cursor(cursor, cursorHotspot.x, cursorHotspot.y);
455d814
 }
455d814