]> git.mdlowis.com Git - proto/labwc.git/commit
src/view.c: on un-fullscreen restore SSD before applying previous geometry
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Sat, 31 Dec 2022 20:20:50 +0000 (21:20 +0100)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Sun, 1 Jan 2023 01:24:07 +0000 (02:24 +0100)
commitd09453395544a8467ca8c515de119b89dbc72a65
tree30235823bb56037883089f107057af0eaf76acf7
parent83a0be1b9c1af1e7dd9163ccaa5c205efbc8e565
src/view.c: on un-fullscreen restore SSD before applying previous geometry

Before this patch following would cause the SSD to be rendered offscreen:
- snap a window to left or right edge
- toggle fullscreen to fullscreen
- toggle fullscreen to un-fullscreen

To fix that restore the SSD before calculating the new geometry.
src/view.c