rxyhn / yoru

夜 - Yoru | Aesthetic and Beautiful Awesome Environment :first_quarter_moon:
GNU General Public License v3.0
3.46k stars 196 forks source link

Fix: top panel hidden after fullscreen/maximized client #190

Open tyrypyrking opened 1 month ago

tyrypyrking commented 1 month ago

Fixes issues #169 and #160.

request::unmanage is at fault, it's not being emitted when we desire to return the top panel back.

From docs: request::manage Emitted when a new client appears and gets managed by Awesome. What we would much rather desire is: unfocus Emitted when a client gets unfocused.

We don't have to worry about getting panel when going from fullscreen to fullscreen on another workspace, as this case will trigger add_top_panel and then remove_top_panel sequentially.