diff options
author | Quentin Glidic <sardemff7+git@sardemff7.net> | 2017-06-01 14:55:17 +0200 |
---|---|---|
committer | Quentin Glidic <sardemff7+git@sardemff7.net> | 2017-06-01 15:06:57 +0200 |
commit | 48a80e3f82dc69e291060d1b1b338d60c6e4f3a6 (patch) | |
tree | c9dc0c885306ab64ff6390858b392f698a4b0eab /include/xcb.h | |
parent | 55485418a4ab62cfbf8f7aec85676c1ab458aaeb (diff) |
display: Introduce display.h
The API is meant to be neutral to fit any display backend.
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Diffstat (limited to 'include/xcb.h')
-rw-r--r-- | include/xcb.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/include/xcb.h b/include/xcb.h index c8ea4bcf..87f144e3 100644 --- a/include/xcb.h +++ b/include/xcb.h @@ -49,12 +49,6 @@ extern xcb_stuff *xcb; * @returns the root window. */ 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 ( void ); /** * @param w The xcb_window_t to read property from. @@ -135,18 +129,6 @@ typedef struct _workarea int monitor_active ( workarea *mon ); /** - * @param main_loop The GMainLoop - * - * Setup several items required. - * * Error handling, - * * Numlock detection - * * Cache - * - * @returns Whether the setup succeeded or not - */ -gboolean x11_setup ( GMainLoop *main_loop ); - -/** * Depth of visual */ extern xcb_depth_t *depth; @@ -159,10 +141,6 @@ extern xcb_visualtype_t *visual; */ 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. * @@ -179,17 +157,6 @@ cairo_surface_t * x11_helper_get_bg_surface ( void ); cairo_surface_t *x11_helper_get_screenshot_surface ( void ); /** - * Creates an internal represenation of the available monitors. - * Used for positioning rofi. - */ -void x11_build_monitor_layout ( void ); - -/** - * Dump the monitor layout to stdout. - */ -void x11_dump_monitor_layout ( void ); - -/** * @param window The X11 window to modify * * Set the right hints to disable the window decoration. |