4b5b9a
diff -up tigervnc-1.3.0/vncviewer/Viewport.cxx.cursor tigervnc-1.3.0/vncviewer/Viewport.cxx
4b5b9a
--- tigervnc-1.3.0/vncviewer/Viewport.cxx.cursor	2013-12-17 13:28:23.170400013 +0000
4b5b9a
+++ tigervnc-1.3.0/vncviewer/Viewport.cxx	2013-12-17 13:29:46.095784064 +0000
4b5b9a
@@ -931,7 +931,7 @@ void Viewport::popupContextMenu()
4b5b9a
 
4b5b9a
   // Back to our proper mouse pointer.
4b5b9a
 #ifdef HAVE_FLTK_CURSOR
4b5b9a
-  if (Fl::belowmouse() == this)
4b5b9a
+  if (Fl::belowmouse() == this && cursor)
4b5b9a
     window()->cursor(cursor, cursorHotspot.x, cursorHotspot.y);
4b5b9a
 #endif
4b5b9a