mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-13 13:29:44 -05:00
Fix layer rendering/layout bugs
This commit is contained in:
parent
097e87ca9f
commit
86ca4bea6d
7 changed files with 173 additions and 76 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue