fix draw order in x_paint
[openbox.git] / openbox / grab.h
blobcf3a7fd5a35225cf28ce9eb990764879e1c682fc
1 #ifndef __grab_h
2 #define __grab_h
4 #include <glib.h>
5 #include <X11/Xlib.h>
7 void grab_startup();
8 void grab_shutdown();
10 void grab_keyboard(gboolean grab);
11 void grab_pointer(gboolean grab, Cursor cur);
12 void grab_server(gboolean grab);
14 void grab_button(guint button, guint state, Window win, guint mask,
15 int pointer_mode);
16 void ungrab_button(guint button, guint state, Window win);
18 void grab_key(guint keycode, guint state, int keyboard_mode);
20 void ungrab_all_keys();
22 #endif