summaryrefslogtreecommitdiffstats
path: root/x11vnc/win_utils.h
diff options
context:
space:
mode:
authorrunge <runge@karlrunge.com>2009-12-02 22:09:51 -0500
committerrunge <runge@karlrunge.com>2009-12-02 22:09:51 -0500
commit00a9a0ea4d0f642b34b4423ea867099b52edf078 (patch)
treec9df2a624681358103c80e79847fd415cf3a8e2f /x11vnc/win_utils.h
parentf40b0111827677625d81b7b7fcd001ce285adf69 (diff)
downloadlibvncserver-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/win_utils.h')
-rw-r--r--x11vnc/win_utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11vnc/win_utils.h b/x11vnc/win_utils.h
index 8ef89a7..4a7c890 100644
--- a/x11vnc/win_utils.h
+++ b/x11vnc/win_utils.h
@@ -45,7 +45,7 @@ extern Window parent_window(Window win, char **name);
extern int valid_window(Window win, XWindowAttributes *attr_ret, int bequiet);
extern Bool xtranslate(Window src, Window dst, int src_x, int src_y, int *dst_x,
int *dst_y, Window *child, int bequiet);
-extern int get_window_size(Window win, int *x, int *y);
+extern int get_window_size(Window win, int *w, int *h);
extern void snapshot_stack_list(int free_only, double allowed_age);
extern int get_boff(void);
extern int get_bwin(void);
@@ -54,5 +54,6 @@ extern Window query_pointer(Window start);
extern unsigned int mask_state(void);
extern int pick_windowid(unsigned long *num);
extern Window descend_pointer(int depth, Window start, char *name_info, int len);
+extern void id_cmd(char *cmd);
#endif /* _X11VNC_WIN_UTILS_H */
OpenPOWER on IntegriCloud