diff options
Diffstat (limited to 'vncviewer/Viewport.cxx')
-rw-r--r-- | vncviewer/Viewport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vncviewer/Viewport.cxx b/vncviewer/Viewport.cxx index 4b8a85b0..733e4a20 100644 --- a/vncviewer/Viewport.cxx +++ b/vncviewer/Viewport.cxx @@ -931,7 +931,7 @@ void Viewport::popupContextMenu() // Back to our proper mouse pointer. #ifdef HAVE_FLTK_CURSOR - if (Fl::belowmouse() == this) + if ((Fl::belowmouse() == this) && cursor) window()->cursor(cursor, cursorHotspot.x, cursorHotspot.y); #endif |