mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-21 06:59:44 -05:00
backend/wayland: don't ack a configure event too early
Postpone sending xdg_surface.ack_configure until the guest compositor commits a buffer, if at all. Also see https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/128.
This commit is contained in:
parent
94e7165e85
commit
baf1e4f674
2 changed files with 10 additions and 1 deletions
|
|
@ -95,7 +95,10 @@ struct wlr_wl_output {
|
|||
// 0 if not requested
|
||||
int32_t requested_width, requested_height;
|
||||
|
||||
uint32_t configure_serial;
|
||||
bool has_configure_serial;
|
||||
bool configured;
|
||||
|
||||
uint32_t enter_serial;
|
||||
|
||||
struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue