summaryrefslogtreecommitdiffstats
path: root/x11vnc/cursor.c
diff options
context:
space:
mode:
authorrunge <runge>2006-10-12 00:51:30 +0000
committerrunge <runge>2006-10-12 00:51:30 +0000
commita5baf57ba627ca8e85b1156a0ea09ca376d0b8e4 (patch)
treef95d5e59aa0a930b4e317b6dddac509a48752c23 /x11vnc/cursor.c
parenta255783ee09b15e1cae63a44b6494eeeebd540a9 (diff)
downloadlibtdevnc-a5baf57ba627ca8e85b1156a0ea09ca376d0b8e4.tar.gz
libtdevnc-a5baf57ba627ca8e85b1156a0ea09ca376d0b8e4.zip
x11vnc: -cursor_drag for DnD, etc.
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")) {