summaryrefslogtreecommitdiffstats
path: root/include/xcb.h
diff options
context:
space:
mode:
authorQuentin Glidic <sardemff7+git@sardemff7.net>2017-06-01 00:39:11 +0200
committerQuentin Glidic <sardemff7+git@sardemff7.net>2017-06-01 00:39:11 +0200
commit9b58a9bc3117591480b200612dd637989f97dcb4 (patch)
treef6c2565cf261c076479d0818bc2321f9e63df568 /include/xcb.h
parent46dee2671dfa23635d885e855d36d46df63586b1 (diff)
xcb: Move more stuff to xcb.c
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Diffstat (limited to 'include/xcb.h')
-rw-r--r--include/xcb.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/xcb.h b/include/xcb.h
index e7743a45..47906170 100644
--- a/include/xcb.h
+++ b/include/xcb.h
@@ -40,6 +40,8 @@ typedef struct _xcb_stuff xcb_stuff;
*/
extern xcb_stuff *xcb;
+gboolean main_loop_x11_event_handler ( xcb_generic_event_t *ev, G_GNUC_UNUSED gpointer data );
+
/**
* @param xcb the xcb data structure
*
@@ -55,7 +57,6 @@ xcb_window_t xcb_stuff_get_root_window ( xcb_stuff *xcb );
*/
void xcb_stuff_wipe ( xcb_stuff *xcb );
-
/**
* @param w The xcb_window_t to read property from.
* @param atom The property identifier
@@ -192,7 +193,7 @@ int take_pointer ( xcb_window_t w, int iters );
* * Numlock detection
* * Cache
*/
-void x11_setup ( void );
+gboolean x11_setup ( void );
/**
* Depth of visual