improve xdg states handling
This commit is contained in:
6
diyac.h
6
diyac.h
@ -106,6 +106,7 @@ struct diyac_server
|
||||
struct wlr_backend *backend;
|
||||
struct wlr_renderer *renderer;
|
||||
struct wlr_allocator *allocator;
|
||||
struct wl_event_loop *wl_event_loop;
|
||||
struct wlr_scene *scene;
|
||||
struct wlr_scene_output_layout *scene_layout;
|
||||
|
||||
@ -185,15 +186,18 @@ struct diyac_view
|
||||
struct wlr_scene_tree *scene_tree;
|
||||
struct diyac_view_state state;
|
||||
struct diyac_view_state requested;
|
||||
uint32_t configuration_serial;
|
||||
struct wl_event_source * configuration_timeout;
|
||||
/*
|
||||
* Geometry of the wlr_surface contained within the view, as
|
||||
* currently displayed. Should be kept in sync with the
|
||||
* scene-graph at all times.
|
||||
*/
|
||||
struct wlr_box original;
|
||||
struct wlr_box pending_size;
|
||||
bool mapped;
|
||||
struct diyac_output *output;
|
||||
|
||||
struct wl_listener commit;
|
||||
struct wl_listener map;
|
||||
struct wl_listener unmap;
|
||||
struct wl_listener destroy;
|
||||
|
Reference in New Issue
Block a user