summaryrefslogtreecommitdiffstats
path: root/include/xcb.h
diff options
context:
space:
mode:
authorQuentin Glidic <sardemff7+git@sardemff7.net>2017-06-01 12:47:52 +0200
committerQuentin Glidic <sardemff7+git@sardemff7.net>2017-06-01 13:26:31 +0200
commit4792a16593374bc3036ea2bccaf9143cc90af44f (patch)
tree0c6913d6b05550172c6703bb13ca3dbcb2702f52 /include/xcb.h
parent2b6c084f324373e118147fc9ee20cd78f0b8bf9e (diff)
xcb: Hide release details
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Diffstat (limited to 'include/xcb.h')
-rw-r--r--include/xcb.h31
1 files changed, 2 insertions, 29 deletions
diff --git a/include/xcb.h b/include/xcb.h
index 26163ca6..aaa6981a 100644
--- a/include/xcb.h
+++ b/include/xcb.h
@@ -157,35 +157,6 @@ typedef struct _workarea
int monitor_active ( workarea *mon );
/**
- * Release keyboard grab on root window.
- */
-void release_keyboard ( void );
-/**
- * Release pointer grab on root window.
- */
-void release_pointer ( void );
-
-/**
- * @param w xcb_window_t we want to grab keyboard on.
- * @param iters Number of retries.
- *
- * Grab keyboard.
- *
- * @return 1 when keyboard is grabbed, 0 not.
- */
-int take_keyboard ( xcb_window_t w, int iters );
-
-/**
- * @param w xcb_window_t we want to grab mouse on.
- * @param iters Number of retries.
- *
- * Grab mouse.
- *
- * @return 1 when mouse is grabbed, 0 not.
- */
-int take_pointer ( xcb_window_t w, int iters );
-
-/**
* @param main_loop The GMainLoop
*
* Setup several items required.
@@ -212,6 +183,8 @@ extern xcb_colormap_t map;
gboolean x11_late_setup ( void );
+void x11_early_cleanup ( void );
+
/**
* Gets a surface containing the background image of the desktop.
*