mirror of
https://github.com/labwc/labwc.git
synced 2025-11-05 13:29:58 -05:00
xwayland.c: Fix positioning with multiple queued configure events
Prevents a single action like ToggleDecorations + ToggleMaximize to position the view somewhere with negative coordinates when unmaximizing. It may still position the view on negative coordinates but later commit events will fix the position. This issue only exists on xwayland because there are no configure serials which we could use to ignore all repositioning until we are at the latest desired state.
This commit is contained in:
parent
00ff00d9f9
commit
5f62f2ba99
2 changed files with 24 additions and 14 deletions
|
|
@ -274,7 +274,7 @@ struct view {
|
|||
*/
|
||||
struct border padding;
|
||||
|
||||
struct {
|
||||
struct view_pending_move_resize {
|
||||
bool update_x, update_y;
|
||||
double x, y;
|
||||
uint32_t width, height;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue