diff options
author | runge <runge> | 2006-01-09 01:54:38 +0000 |
---|---|---|
committer | runge <runge> | 2006-01-09 01:54:38 +0000 |
commit | 71f2ec79180185a6c3db0c87f9d53c491dc31e76 (patch) | |
tree | 67c341571cbeb1bd9a0744cc8eb03b30ef04f381 /x11vnc/win_utils.h | |
parent | def301266373e462f4a5e90eab443087ccfc7ccc (diff) | |
download | libvncserver-71f2ec79180185a6c3db0c87f9d53c491dc31e76.zip libvncserver-71f2ec79180185a6c3db0c87f9d53c491dc31e76.tar.gz |
x11vnc: the big split.
Diffstat (limited to 'x11vnc/win_utils.h')
-rw-r--r-- | x11vnc/win_utils.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/x11vnc/win_utils.h b/x11vnc/win_utils.h new file mode 100644 index 0000000..386666e --- /dev/null +++ b/x11vnc/win_utils.h @@ -0,0 +1,23 @@ +#ifndef _X11VNC_WIN_UTILS_H +#define _X11VNC_WIN_UTILS_H + +/* -- win_utils.h -- */ +#include "xinerama.h" +#include "winattr_t.h" + +extern winattr_t *stack_list; +extern int stack_list_len; +extern int stack_list_num; + +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 void snapshot_stack_list(int free_only, double allowed_age); +extern void update_stack_list(void); +extern Window query_pointer(Window start); +extern int pick_windowid(unsigned long *num); +extern Window descend_pointer(int depth, Window start, char *name_info, int len); + +#endif /* _X11VNC_WIN_UTILS_H */ |