]> git.mdlowis.com Git - proto/labwc.git/commit
desktop: show/hide `top` layer more smartly
authortokyo4j <hrak1529@gmail.com>
Mon, 13 May 2024 01:18:28 +0000 (10:18 +0900)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Tue, 14 May 2024 13:57:27 +0000 (15:57 +0200)
commit1c8d347a61bcb596865a544427d2eef50499162c
treec580e0a7987bc993a85329f18c7499686fd88230
parent6fe3df34ca642504036b22fc6e1d3f4dd60df345
desktop: show/hide `top` layer more smartly

Before this commit, `top` layers were hidden whenever there is a
fullscreen window in the corresponding output.

With this commit, `top` layers are hidden only when there is a fullscreen
window without other windows above it in the corresponding output.

A caveat is that `bottom` layer is still always hidden by a fullscreen
window.
src/desktop.c
src/view.c