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.
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.