]> Dogcows Code - chaz/openbox/blob - openbox/grab.h
move ob_pointer_pos to screen_pointer_pos
[chaz/openbox] / openbox / grab.h
1 #ifndef __grab_h
2 #define __grab_h
3
4 #include "misc.h"
5
6 #include <glib.h>
7 #include <X11/Xlib.h>
8
9 void grab_startup();
10 void grab_shutdown();
11
12 gboolean grab_keyboard(gboolean grab);
13 gboolean grab_pointer(gboolean grab, ObCursor cur);
14 gboolean grab_pointer_window(gboolean grab, ObCursor cur, Window win);
15 void grab_server(gboolean grab);
16
17 void grab_button(guint button, guint state, Window win, guint mask);
18 void grab_button_full(guint button, guint state, Window win, guint mask,
19 int pointer_mode, ObCursor cursor);
20 void ungrab_button(guint button, guint state, Window win);
21
22 void grab_key(guint keycode, guint state, Window win, int keyboard_mode);
23
24 void ungrab_all_keys(Window win);
25
26 #endif
This page took 0.034027 seconds and 4 git commands to generate.