]> git.mdlowis.com Git - proto/labwc.git/commit
view: honor automatic placement when adjusting floating geometry
authorAndrew J. Hesford <ajh@sideband.org>
Sat, 30 Dec 2023 16:19:27 +0000 (11:19 -0500)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sat, 30 Dec 2023 16:50:09 +0000 (16:50 +0000)
commitb1c5e95c058abcf6afe9adb0992122b7debfcaba
tree8143bd1aaaa536adb3ad1c3cf63a4e025726a6d9
parent7f357a388b6be5043e38d910ddc911d592ae0120
view: honor automatic placement when adjusting floating geometry

The view_adjust_floating_geometry function is called when un-maximizing
a window or changing the output layout to ensure that views are well
placed. Rather than always centering these views should they fall
offscren, use the automatic placement strategy if so configured.
include/placement.h
src/action.c
src/placement.c
src/view.c