]> git.mdlowis.com Git - proto/labwc.git/commit
xwayland.c: Fix positioning with multiple queued configure events
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Fri, 25 Feb 2022 20:31:21 +0000 (21:31 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Fri, 25 Feb 2022 21:51:40 +0000 (21:51 +0000)
commit5f62f2ba9993d46510e09ff088a9c8acdef26c52
treec802b407fc707d5efb6c516ad140bdac55ecd637
parent00ff00d9f93534efad63bccffda34f9ce14bf72f
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.
include/labwc.h
src/xwayland.c