feat: allows fullscreen support

This commit is contained in:
DanyLE
2024-04-02 23:00:11 +02:00
parent 68b1890d61
commit 1ae9cd000a
4 changed files with 65 additions and 93 deletions

View File

@ -41,7 +41,6 @@ enum diyac_view_state
{
DIYAC_VIEW_NORMAL = 0,
DIYAC_VIEW_MAXIMIZE,
DIYAC_VIEW_MINIMIZE,
DIYAC_VIEW_FULL_SCREEN,
};
@ -167,6 +166,7 @@ struct diyac_view
struct wlr_xdg_toplevel *xdg_toplevel;
struct wlr_scene_tree *scene_tree;
enum diyac_view_state state;
enum diyac_view_state requested;
/*
* Geometry of the wlr_surface contained within the view, as
* currently displayed. Should be kept in sync with the