10 /* inherits from xcb_screen_t */
11 typedef struct d_screen {
13 struct d_display *dpy;
16 xcb_window_t selwin; /* for the selection */
17 xcb_atom_t selatom; /* ditto.. */
22 /*! Tries to register on the screen given by @sc. If it succeeds, it fills
23 in @sc and returns TRUE, otherwise it returns FALSE.
25 gboolean screen_register(struct d_display *dpy, int num, d_screen_t *sc);
27 void screen_add_window(d_screen_t *sc, xcb_window_t wid);
28 void screen_remove_window(d_screen_t *sc, struct d_window *w);
30 struct d_window* screen_find_window(d_screen_t *sc, xcb_window_t id);