layers: take into account usable area when maximizing views

This commit is contained in:
Johan Malm 2021-07-12 21:39:09 +01:00
parent 743803de3b
commit a3ac2f2767
4 changed files with 24 additions and 19 deletions

View file

@ -133,6 +133,8 @@ struct output {
struct wlr_output *wlr_output;
struct wlr_output_damage *damage;
struct wl_list layers[4];
struct wlr_box usable_area;
struct wl_listener destroy;
struct wl_listener damage_frame;
struct wl_listener damage_destroy;