]> git.mdlowis.com Git - proto/labwc.git/commit
xdg: add missing tracking of configure serials
authorJohn Lindgren <john@jlindgren.net>
Wed, 4 Jun 2025 18:35:00 +0000 (14:35 -0400)
committerHiroaki Yamamoto <hrak1529@gmail.com>
Wed, 4 Jun 2025 20:49:17 +0000 (05:49 +0900)
commit0908bb5dd1af184ed02d0ae9ee1006b1a2c6d916
tree250d8dd0c0d6de473068db6cf7519e7d8ff7c0ce
parentea294dbcf525c0853034afeb41c745762f1d0bc2
xdg: add missing tracking of configure serials

In some cases, we would schedule a configure event but not record that
we had done so, leaving view->pending_configure_serial incorrect. This
caused incorrect handling of in-flight commits that had not yet taken
the new configure into account, such as assuming that the client had
ignored the configured size and incorrectly resetting view->pending.

Fixes: #2774
src/xdg.c