mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-10 04:27:51 -05:00
Merge branch 'better-initialized' into 'master'
Draft: xdg-shell,layer-shell: improve init state tracking Closes #3780 See merge request wlroots/wlroots!4766
This commit is contained in:
commit
79c8a4dc57
6 changed files with 44 additions and 26 deletions
|
|
@ -250,8 +250,6 @@ struct wlr_surface {
|
|||
int buffer_width, buffer_height;
|
||||
} previous;
|
||||
|
||||
bool unmap_commit;
|
||||
|
||||
bool opaque;
|
||||
|
||||
bool handling_commit;
|
||||
|
|
|
|||
|
|
@ -70,6 +70,10 @@ struct wlr_layer_surface_v1_state {
|
|||
|
||||
uint32_t configure_serial;
|
||||
uint32_t actual_width, actual_height;
|
||||
|
||||
struct {
|
||||
bool initial_commit;
|
||||
} WLR_PRIVATE;
|
||||
};
|
||||
|
||||
struct wlr_layer_surface_v1_configure {
|
||||
|
|
@ -118,6 +122,8 @@ struct wlr_layer_surface_v1 {
|
|||
|
||||
struct {
|
||||
struct wlr_surface_synced synced;
|
||||
|
||||
bool client_mapped;
|
||||
} WLR_PRIVATE;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -258,6 +258,10 @@ struct wlr_xdg_surface_state {
|
|||
struct wlr_box geometry;
|
||||
|
||||
uint32_t configure_serial;
|
||||
|
||||
struct {
|
||||
bool initial_commit;
|
||||
} WLR_PRIVATE;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
@ -319,6 +323,8 @@ struct wlr_xdg_surface {
|
|||
struct wlr_surface_synced synced;
|
||||
|
||||
struct wl_listener role_resource_destroy;
|
||||
|
||||
bool client_mapped;
|
||||
} WLR_PRIVATE;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue