raexera / yoru

A custom Linux environment built on AwesomeWM
GNU General Public License v3.0
3.48k stars 198 forks source link

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

Open tyrypyrking opened 2 months ago

tyrypyrking commented 2 months 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.