casualsnek / cassowary

Run Windows Applications on Linux as if they are native, Use linux applications to launch files files located in windows vm without needing to install applications on vm. With easy to use configuration GUI
GNU General Public License v2.0
2.87k stars 75 forks source link

Add proper window hints so that i3 doesn't try to tile popups #135

Open KP2048 opened 11 months ago

KP2048 commented 11 months ago

Discussed in https://github.com/casualsnek/cassowary/discussions/133

Originally posted by **Witherking25** September 30, 2023 not sure how fixable this is, but whenever a program running under cassowary opens a popup, my window manager, i3, says "ooh, new window, must tile!" and resizes all the windows and tiles it. this is mainly due to the window hints not being set on the rdp window becasue it is normally not a popup window, so it shouldn't float. but for popup windows, it obviously should float lol.
KP2048 commented 11 months ago

in case you are wondering, you can in fact add window atoms to existing windows you don't own, as long as you can get a window handle. setting _NET_WM_WINDOW_TYPE_DIALOG on any windows that are deemed popups should be sufficient for most tiling window managers