]> git.mdlowis.com Git - proto/labwc.git/commit
src/xwayland.c: keep SSD state on unmap/map cycle
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Tue, 17 May 2022 12:33:12 +0000 (14:33 +0200)
committerJohan Malm <johanmalm@users.noreply.github.com>
Tue, 17 May 2022 16:34:26 +0000 (17:34 +0100)
commitfbbe2731553b0a54a2c1eaf54eca300599d953ef
treecc09b9bf8e041f805c3ceff9f1c5e0ba11c66e17
parent0f54974430c8dd8da25254d036defa72f65c36b7
src/xwayland.c: keep SSD state on unmap/map cycle

Move SSD related map() work into the !view->been_mapped branch,
similar to src/xdg.c.

Without this patch following series of events restores the initial
state of the SSD when activating the view:
- spawn xcalc
- observe it shows the SSD
- toggleDecorations to hide the SSD (via keybinding or window menu)
- minimize xcalc (via some panel or A-Space)
- activate xcalc (via some panel or A-Tab)
- observe the SSD is back visible
src/xwayland.c