]> git.mdlowis.com Git - proto/labwc.git/commit
view: no gap for top/left align big window
authorJohan Malm <jgm323@gmail.com>
Mon, 26 Sep 2022 19:16:43 +0000 (20:16 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Tue, 27 Sep 2022 16:26:51 +0000 (17:26 +0100)
commitd83c58919f874337dacddf7f2cec0bdd094a2c45
tree3576371074ad70fa0d2626f21a366da468228848
parentc4b85041bad06436a9123fab6c3d4d9fec738aad
view: no gap for top/left align big window

On initial positioning of toplevel windows we call view_center().
During the centering process, if it turns out that the view is larger than
the output usable-area then we just top/left align it with no gap.

Relates to the gap aspect of issue #403

Reported-by: @Flrian
src/view.c