Blame SOURCES/tigervnc-cursor.patch

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