2003-03-18 19:51:56 +00:00
|
|
|
#ifndef __grab_h
|
|
|
|
#define __grab_h
|
|
|
|
|
2003-07-10 06:18:47 +00:00
|
|
|
#include "misc.h"
|
|
|
|
|
2003-03-18 19:51:56 +00:00
|
|
|
#include <glib.h>
|
|
|
|
#include <X11/Xlib.h>
|
|
|
|
|
2003-09-03 18:11:39 +00:00
|
|
|
void grab_startup(gboolean reconfig);
|
|
|
|
void grab_shutdown(gboolean reconfig);
|
2003-03-18 19:51:56 +00:00
|
|
|
|
2003-06-26 07:58:25 +00:00
|
|
|
gboolean grab_keyboard(gboolean grab);
|
2003-07-10 06:18:47 +00:00
|
|
|
gboolean grab_pointer(gboolean grab, ObCursor cur);
|
|
|
|
gboolean grab_pointer_window(gboolean grab, ObCursor cur, Window win);
|
2003-03-18 20:00:44 +00:00
|
|
|
void grab_server(gboolean grab);
|
2003-03-18 19:51:56 +00:00
|
|
|
|
2003-05-11 05:15:43 +00:00
|
|
|
void grab_button(guint button, guint state, Window win, guint mask);
|
|
|
|
void grab_button_full(guint button, guint state, Window win, guint mask,
|
2003-07-10 06:18:47 +00:00
|
|
|
int pointer_mode, ObCursor cursor);
|
2003-03-19 18:55:56 +00:00
|
|
|
void ungrab_button(guint button, guint state, Window win);
|
|
|
|
|
2003-06-04 22:45:54 +00:00
|
|
|
void grab_key(guint keycode, guint state, Window win, int keyboard_mode);
|
2003-03-19 18:55:56 +00:00
|
|
|
|
2003-06-04 22:45:54 +00:00
|
|
|
void ungrab_all_keys(Window win);
|
2003-03-19 18:55:56 +00:00
|
|
|
|
2003-03-18 19:51:56 +00:00
|
|
|
#endif
|