Grouped windows overlay each other in the gui
When there are several windows occupying the same space, but grouped, hyprswitch will show them all overlapping, making it difficult to switch to any of the windows in that group:
Maybe they could be artificially split up (with the rules of the dwindle splitting), so all would be visible in the gui cell?
This could be combined with tiling of floating windows, I will think of a way to implement this.
How does this sound?
When two or more overlapping windows are detected:
- Calculate union bounding box of all windows
- Instead of drawing windows in their actual position, draw a grid of windows inside that bounding box
I'm thinking of adding an "adaptive" styling mode. You can select either "real" or "adaptive" mode to either draw the clients with their actual position, regardless of the "switch type" (client/workspace/monitor), or to only draw clients in a row, workspaces in a row, etc.
Implemented in the new rewrite, the switch mode now shows al windows in a row regardless of size, floating state, etc
Switch mode now shows them separate, overview still layered (intended)