summaryrefslogtreecommitdiffstats
path: root/x11vnc/userinput.c
diff options
context:
space:
mode:
authorrunge <runge>2007-09-05 03:39:51 +0000
committerrunge <runge>2007-09-05 03:39:51 +0000
commit6a6d26a74701179672d59bfd153cc1a2e92e96bd (patch)
tree47537dd9d54f9c9e95c01e066435216bbac99ceb /x11vnc/userinput.c
parente30552512933e6f0a07b83dd3246a97ff5281503 (diff)
downloadlibtdevnc-6a6d26a74701179672d59bfd153cc1a2e92e96bd.tar.gz
libtdevnc-6a6d26a74701179672d59bfd153cc1a2e92e96bd.zip
x11vnc: -autoport, -finddpy, -xdummy. watch xrandr events. check_redir_services() utilities for Terminal services. Improve Xdummy.
Diffstat (limited to 'x11vnc/userinput.c')
-rw-r--r--x11vnc/userinput.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/x11vnc/userinput.c b/x11vnc/userinput.c
index 2488748..ecd71e7 100644
--- a/x11vnc/userinput.c
+++ b/x11vnc/userinput.c
@@ -1954,7 +1954,7 @@ if (0) fprintf(stderr, "sa.. %d %d %d %d %d %d\n", sx1, sy1, sx2, sy2, sdx, sdy)
sy1 = sy2;
sy2 = t;
}
-if (1) fprintf(stderr, "sb.. %d %d %d %d %d %d\n", sx1, sy1, sx2, sy2, sdx, sdy);
+if (0) fprintf(stderr, "sb.. %d %d %d %d %d %d\n", sx1, sy1, sx2, sy2, sdx, sdy);
if (mode == DCR_Direct) {
rfbClientIteratorPtr i;
@@ -3619,7 +3619,7 @@ void clear_win_events(Window win, int vis) {
/* XXX Y */
if (vis) {
while (XCheckTypedWindowEvent(dpy, win, VisibilityNotify, &ev)) {
- fprintf(stderr, "+");
+ if (ncdb) fprintf(stderr, "+");
if (trapped_xerror) {
break;
}
@@ -7692,7 +7692,7 @@ int try_to_fix_resize_su(Window orig_frame, int orig_x, int orig_y, int orig_w,
if (orig_w >= w && orig_h >= h) {
-fprintf(stderr, "Shrinking resize %d %dx%d+%d+%d -> %dx%d+%d+%d\n", idx, orig_w, orig_h, orig_x, orig_y, w, h, x, y);
+if (0) fprintf(stderr, "Shrinking resize %d %dx%d+%d+%d -> %dx%d+%d+%d\n", idx, orig_w, orig_h, orig_x, orig_y, w, h, x, y);
r3 = sraRgnCreateRgn(r1);
sraRgnSubtract(r3, r2);
@@ -7739,7 +7739,7 @@ fprintf(stderr, "Shrinking resize %d %dx%d+%d+%d -> %dx%d+%d+%d\n", idx, orig_w
/* XXX Y */
if (0) cache_list[idx].su_time = dnow();
} else {
-fprintf(stderr, "Growing resize %d %dx%d+%d+%d -> %dx%d+%d+%d\n", idx, orig_w, orig_h, orig_x, orig_y, w, h, x, y);
+if (0) fprintf(stderr, "Growing resize %d %dx%d+%d+%d -> %dx%d+%d+%d\n", idx, orig_w, orig_h, orig_x, orig_y, w, h, x, y);
sx1 = cache_list[idx].su_x;
sy1 = cache_list[idx].su_y;