summaryrefslogtreecommitdiffstats
path: root/x11vnc/remote.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/remote.c')
-rw-r--r--x11vnc/remote.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/x11vnc/remote.c b/x11vnc/remote.c
index 65adad2..bb6491a 100644
--- a/x11vnc/remote.c
+++ b/x11vnc/remote.c
@@ -4176,6 +4176,7 @@ char *process_remote_cmd(char *cmd, int stringonly) {
} else {
XTestFakeKeyEvent_wr(dpy, kc, down, CurrentTime);
}
+ XFlush_wr(dpy);
X_UNLOCK;
}
goto done;
@@ -4243,6 +4244,7 @@ char *process_remote_cmd(char *cmd, int stringonly) {
X_LOCK;
rfbLog("remote_cmd: XTestFakeButtonEvent(mb=%d, down=%d)\n", mb, down);
XTestFakeButtonEvent_wr(dpy, mb, down ? True : False, CurrentTime);
+ XFlush_wr(dpy);
X_UNLOCK;
}