diff options
author | Quentin Glidic <sardemff7+git@sardemff7.net> | 2017-06-01 11:44:21 +0200 |
---|---|---|
committer | Quentin Glidic <sardemff7+git@sardemff7.net> | 2017-06-01 11:44:21 +0200 |
commit | a8aac87bb0ae999e93249c927b14d431c74f7630 (patch) | |
tree | 3e8d3d21a39abcd93eca67beffdd1ebea2f448bf /include/xcb.h | |
parent | da3d78ba13050103535cc6790ad247c04d08980b (diff) |
xcb: Move GWater source in xcb.c
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Diffstat (limited to 'include/xcb.h')
-rw-r--r-- | include/xcb.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/xcb.h b/include/xcb.h index 47906170..4db2c5cb 100644 --- a/include/xcb.h +++ b/include/xcb.h @@ -49,13 +49,13 @@ gboolean main_loop_x11_event_handler ( xcb_generic_event_t *ev, G_GNUC_UNUSED gp * * @returns the root window. */ -xcb_window_t xcb_stuff_get_root_window ( xcb_stuff *xcb ); +xcb_window_t xcb_stuff_get_root_window ( void ); /** * @param xcb The xcb data structure. * * Disconnect and free all xcb connections and references. */ -void xcb_stuff_wipe ( xcb_stuff *xcb ); +void xcb_stuff_wipe ( void ); /** * @param w The xcb_window_t to read property from. @@ -188,12 +188,16 @@ int take_keyboard ( xcb_window_t w, int iters ); int take_pointer ( xcb_window_t w, int iters ); /** + * @param main_loop The GMainLoop + * * Setup several items required. * * Error handling, * * Numlock detection * * Cache + * + * @returns Whether the setup succeeded or not */ -gboolean x11_setup ( void ); +gboolean x11_setup ( GMainLoop *main_loop ); /** * Depth of visual |