summaryrefslogtreecommitdiffstats
path: root/x11vnc/win_utils.c
diff options
context:
space:
mode:
authorrunge <runge>2006-12-29 07:21:37 +0000
committerrunge <runge>2006-12-29 07:21:37 +0000
commit833f06025fbd2fa8d4d83ccf8ab068c8060663de (patch)
tree1b20fdc2575d12b66e28d6e608dd54b3cacb2766 /x11vnc/win_utils.c
parente4a397ed13a2c6eb9d2da7870165e7ecdc67f461 (diff)
downloadlibvncserver-833f06025fbd2fa8d4d83ccf8ab068c8060663de.zip
libvncserver-833f06025fbd2fa8d4d83ccf8ab068c8060663de.tar.gz
x11vnc -ncache on by default for beta test. fix -nofb & -rawfb modes.
Diffstat (limited to 'x11vnc/win_utils.c')
-rw-r--r--x11vnc/win_utils.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/x11vnc/win_utils.c b/x11vnc/win_utils.c
index 2e5449e..aea8473 100644
--- a/x11vnc/win_utils.c
+++ b/x11vnc/win_utils.c
@@ -85,11 +85,13 @@ int valid_window(Window win, XWindowAttributes *attr_ret, int bequiet) {
if (win == None) {
return 0;
}
+
#ifdef MACOSX
if (macosx_console) {
return macosx_valid_window(win, attr_ret);
}
#endif
+
RAWFB_RET(0)
#if NO_X11
@@ -205,7 +207,7 @@ void snapshot_stack_list(int free_only, double allowed_age) {
#endif
#if NO_X11 && !defined(MACOSX)
- num = rc = i = j = 0;
+ num = rc = i = j = 0; /* compiler warnings */
ui = 0;
r = w = None;
list = NULL;
@@ -332,7 +334,7 @@ if (0) fprintf(stderr, "update_stack_list[%d]: %.4f %.4f\n", stack_list_num, no
Window query_pointer(Window start) {
int rx, ry;
#if !NO_X11
- Window r, c;
+ Window r, c; /* compiler warnings */
int wx, wy;
unsigned int mask;
#endif
@@ -344,6 +346,7 @@ Window query_pointer(Window start) {
#endif
RAWFB_RET(None)
+
#if NO_X11
if (!start) { rx = ry = 0; }
return None;
OpenPOWER on IntegriCloud