9 /* inherits from xcb_screen_t */
10 typedef struct d_screen {
12 xcb_connection_t *conn;
15 xcb_window_t selwin; /* for the selection */
16 xcb_atom_t selatom; /* ditto.. */
21 /*! Tries to register on the screen given by @sc. If it succeeds, it fills
22 in @sc and returns TRUE, otherwise it returns FALSE.
24 gboolean screen_register(d_screen_t *sc);
26 void screen_add_window(d_screen_t *sc, xcb_window_t wid);
27 void screen_remove_window(d_screen_t *sc, struct d_window *w);
29 struct d_window* screen_find_window(d_screen_t *sc, xcb_window_t id);