45 window (*win_create)(void);
46 void (*win_destroy)(window);
48 void (*win_show)(window);
49 void (*win_hide)(window);
51 void (*display_surface)(cairo_surface_t *srf, window win,
const struct dimensions*);
53 cairo_t* (*win_get_context)(window);
55 const struct screen_info* (*get_active_screen)(void);
57 bool (*is_idle)(void);
58 bool (*have_fullscreen_window)(void);
60 double (*get_scale)(void);
const struct output * output_create(bool force_xwayland)
return an initialized output, selecting the correct output type from either wayland or X11 according ...