diff options
Diffstat (limited to 'x11vnc/cursor.c')
-rw-r--r-- | x11vnc/cursor.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/x11vnc/cursor.c b/x11vnc/cursor.c index ab9218c..54ac152 100644 --- a/x11vnc/cursor.c +++ b/x11vnc/cursor.c @@ -6,6 +6,7 @@ #include "screen.h" #include "scan.h" #include "unixpw.h" +#include "macosx.h" int xfixes_present = 0; int use_xfixes = 1; @@ -1460,10 +1461,10 @@ int get_which_cursor(void) { int db = 0; if (show_multiple_cursors) { - int depth; + int depth = 0; static win_str_info_t winfo; static int first = 1, depth_cutoff = -1; - Window win; + Window win = None; XErrorHandler old_handler; int mode = 0; |