diff options
author | runge <runge@karlrunge.com> | 2010-04-25 21:05:49 -0400 |
---|---|---|
committer | runge <runge@karlrunge.com> | 2010-04-25 21:05:49 -0400 |
commit | 8d79a63d3c8caca5d0db4827e072f7c773387afa (patch) | |
tree | 7e0a75c820cde9bc2d17efa04b47be268a5e400f /x11vnc/remote.c | |
parent | 6de3f0bed722384fe21567c13a76843d64491bf4 (diff) | |
download | libtdevnc-8d79a63d3c8caca5d0db4827e072f7c773387afa.tar.gz libtdevnc-8d79a63d3c8caca5d0db4827e072f7c773387afa.zip |
incorporate new ultravnc_dsm_helper.c.
Diffstat (limited to 'x11vnc/remote.c')
-rw-r--r-- | x11vnc/remote.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/x11vnc/remote.c b/x11vnc/remote.c index 2a45d8b..6b2903b 100644 --- a/x11vnc/remote.c +++ b/x11vnc/remote.c @@ -6126,10 +6126,10 @@ char *process_remote_cmd(char *cmd, int stringonly) { } goto qry; } - if (!strcmp(p, "pointer_pos") || !strcmp(p, "pointer_x") || !strcmp(p, "pointer_y") || !strcmp(p, "pointer_same") || !strcmp(p, "pointer_root")) { + if (!strcmp(p, "pointer_pos") || !strcmp(p, "pointer_x") || !strcmp(p, "pointer_y") || !strcmp(p, "pointer_same") || !strcmp(p, "pointer_root") || !strcmp(p, "pointer_mask")) { int px = -1, py = -1; int wx, wy; - unsigned int m; + unsigned int m = 0; Window r, c; Bool same_screen = True; @@ -6144,6 +6144,8 @@ char *process_remote_cmd(char *cmd, int stringonly) { snprintf(buf, bufn, "aro=%s:%d", p, same_screen); } else if (!strcmp(p, "pointer_root")) { /* skip-cmd-list */ snprintf(buf, bufn, "aro=%s:0x%x", p, (unsigned int) rootwin); + } else if (!strcmp(p, "pointer_mask")) { /* skip-cmd-list */ + snprintf(buf, bufn, "aro=%s:0x%x", p, m); } if (!dpy) { goto qry; @@ -6166,6 +6168,8 @@ char *process_remote_cmd(char *cmd, int stringonly) { snprintf(buf, bufn, "aro=%s:%d", p, same_screen); } else if (!strcmp(p, "pointer_root")) { /* skip-cmd-list */ snprintf(buf, bufn, "aro=%s:0x%x", p, (unsigned int) r); + } else if (!strcmp(p, "pointer_mask")) { /* skip-cmd-list */ + snprintf(buf, bufn, "aro=%s:0x%x", p, m); } if (rc_npieces < 10) { rfbLog("remote_cmd: %s: %s\n", p, buf); |