diff options
Diffstat (limited to 'x11vnc/win_utils.c')
-rw-r--r-- | x11vnc/win_utils.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/x11vnc/win_utils.c b/x11vnc/win_utils.c index 9f70349..2e5449e 100644 --- a/x11vnc/win_utils.c +++ b/x11vnc/win_utils.c @@ -205,6 +205,10 @@ void snapshot_stack_list(int free_only, double allowed_age) { #endif #if NO_X11 && !defined(MACOSX) + num = rc = i = j = 0; + ui = 0; + r = w = None; + list = NULL; return; #else @@ -341,7 +345,7 @@ Window query_pointer(Window start) { RAWFB_RET(None) #if NO_X11 - if (!start) {} + if (!start) { rx = ry = 0; } return None; #else if (start == None) { |