summaryrefslogtreecommitdiffstats
path: root/x11vnc/xevents.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/xevents.c')
-rw-r--r--x11vnc/xevents.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11vnc/xevents.c b/x11vnc/xevents.c
index 69c332f..173db1c 100644
--- a/x11vnc/xevents.c
+++ b/x11vnc/xevents.c
@@ -818,7 +818,7 @@ void check_xevents(void) {
/* check for our PRIMARY request notification: */
if (watch_primary || watch_clipboard) {
- int doprimary = 1, doclipboard = 2, which, own;
+ int doprimary = 1, doclipboard = 2, which, own = 0;
double delay = 1.0;
Atom atom;
char *req;