summaryrefslogtreecommitdiffstats
path: root/x11vnc/cursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/cursor.c')
-rw-r--r--x11vnc/cursor.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11vnc/cursor.c b/x11vnc/cursor.c
index 53ef4e7..01dc5fa 100644
--- a/x11vnc/cursor.c
+++ b/x11vnc/cursor.c
@@ -1447,7 +1447,9 @@ int get_which_cursor(void) {
if (drag_in_progress || button_mask) {
/* XXX not exactly what we want for menus */
- return -1;
+ if (! cursor_drag_changes) {
+ return -1;
+ }
}
if (!strcmp(multiple_cursors_mode, "arrow")) {