mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
backend/wayland: improve/fix xdg_toplevel (re-)initialization
- Reset all variables representing an initialized xdg_toplevel's state on unmap. - Send an initial commit only when an output is about to be enabled. - If an output isn't configured yet, don't commit a buffer.
This commit is contained in:
parent
d9f6498f8a
commit
d80c46250d
2 changed files with 21 additions and 13 deletions
|
|
@ -99,6 +99,8 @@ struct wlr_wl_output {
|
|||
bool has_configure_serial;
|
||||
bool configured;
|
||||
|
||||
bool initialized;
|
||||
|
||||
uint32_t enter_serial;
|
||||
|
||||
struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue