]> git.mdlowis.com Git - proto/labwc.git/commit
view: fix unexpected view->tiled with SnapToEdge against centered view
authortokyo4j <hrak1529@gmail.com>
Fri, 10 Oct 2025 08:30:55 +0000 (17:30 +0900)
committerJohan Malm <johanmalm@users.noreply.github.com>
Fri, 10 Oct 2025 18:48:42 +0000 (19:48 +0100)
commitd94e5da815564516d40c1f40ad651553547f071e
tree7d56993fd91b709e07168eb6988b7d8e68e9d94e
parente44a48953067fdf1cc95eb79750f0f4353ea203f
view: fix unexpected view->tiled with SnapToEdge against centered view

In 2ac4811, I was missing that windows can be tiled to "center".
As a result, after executing
`<action name="SnapToEdge" combined="yes" direction="left" />` against a
center-tiled window, `view->tiled` is set to `CENTER|LEFT`.
src/view.c