Fix layer rendering/layout bugs

This commit is contained in:
Drew DeVault 2018-03-26 18:12:31 -04:00
parent 097e87ca9f
commit 86ca4bea6d
7 changed files with 173 additions and 76 deletions

View file

@ -15,6 +15,7 @@ struct roots_layer_surface {
struct wl_listener unmap;
struct wl_listener surface_commit;
struct wl_listener output_destroy;
struct wl_listener output_mode;
bool configured;
struct wlr_box geo;

View file

@ -43,12 +43,13 @@ struct wlr_layer_client {
struct wlr_layer_surface_state {
uint32_t anchor;
uint32_t exclusive_zone;
int32_t exclusive_zone;
struct {
uint32_t top, right, bottom, left;
} margin;
bool keyboard_interactive;
uint32_t width, height;
uint32_t desired_width, desired_height;
uint32_t actual_width, actual_height;
};
struct wlr_layer_surface_configure {