AdaShoelace / hadlock

X window manager
MIT License
156 stars 9 forks source link

Hidden windows still allocate desktop space #55

Closed AdaShoelace closed 4 years ago

AdaShoelace commented 4 years ago

Describe the bug If a window set it's state to hidden on "DestroyNotify" it will minimize to the system tray but leave behind the logical window (WindowWrapper) and still allocate space on the desktop.

To Reproduce Open eg Discord and kill (using eg default binding mod + shift + q

Expected behavior Window will be unmapped and the space it used to allocate on the desktop will no be available for other windows. The remaining, mapped windows on in the workspace will automatically reorder and utilize the space the now unmapped window used to allocate (given that a tiling layout is used).

Screenshots discord_bug

Desktop (please complete the following information):

AdaShoelace commented 4 years ago

Solved by deleting WindoWrapper for hidden windows