diff options
author | runge <runge@karlrunge.com> | 2009-12-02 22:09:51 -0500 |
---|---|---|
committer | runge <runge@karlrunge.com> | 2009-12-02 22:09:51 -0500 |
commit | 00a9a0ea4d0f642b34b4423ea867099b52edf078 (patch) | |
tree | c9df2a624681358103c80e79847fd415cf3a8e2f /x11vnc/userinput.c | |
parent | f40b0111827677625d81b7b7fcd001ce285adf69 (diff) | |
download | libvncserver-00a9a0ea4d0f642b34b4423ea867099b52edf078.zip libvncserver-00a9a0ea4d0f642b34b4423ea867099b52edf078.tar.gz |
x11vnc: -appshare mode for sharing an application windows instead of the
entire desktop. map port + 5500 in reverse connect. Add id_cmd remote
control functions for id (and other) windows. Allow zero port in SSL
reverse connections. Adjust delays between multiple reverse connections;
X11VNC_REVERSE_SLEEP_MAX env var. Add some missing mutex locks; add
INPUT_LOCK and threads_drop_input. More safety in -threads mode for
new framebuffer change. Fix some stderr leaking in -inetd mode.
Diffstat (limited to 'x11vnc/userinput.c')
-rw-r--r-- | x11vnc/userinput.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/x11vnc/userinput.c b/x11vnc/userinput.c index 1a50a03..2fd53c7 100644 --- a/x11vnc/userinput.c +++ b/x11vnc/userinput.c @@ -373,6 +373,7 @@ static void parse_wireframe_str(char *wf) { Colormap cmap; if (dpy && (bpp == 32 || bpp == 16)) { #if !NO_X11 + X_LOCK; cmap = DefaultColormap (dpy, scr); if (XParseColor(dpy, cmap, str, &cdef) && XAllocColor(dpy, cmap, &cdef)) { @@ -389,6 +390,7 @@ static void parse_wireframe_str(char *wf) { wireframe_shade = n; ok = 1; } + X_UNLOCK; #else r = g = b = 0; cmap = 0; |