bakkeby / dwm-flexipatch

A dwm build with preprocessor directives to decide which patches to include during build time
MIT License
1.15k stars 232 forks source link

Unnoted fixed applied? #319

Open Nazushvel opened 1 year ago

Nazushvel commented 1 year ago

I started to move over to my own build of DWM and when I did I found a very odd difference in behavior. With some windows, discord being one of them, when using unmodified dwm and making the discord window small it will draw off screen rather than resize. Easy way to repo this is just open discord on one side, any window on the other, and make the master window larger a few times.

I then got a completely default flexipatch and installed and found that discord will resize to the area no matter how small I make it.

I was wondering what this fix may be or if some other patch may be unintentionally leaking over so I could have this behavior moved to my own install.

Thanks for the help

bakkeby commented 1 year ago

Maybe check in your config if you have resizehints set to 1 (which is the default in dwm).

I believe that the Discord window has minimum size restrictions and having that variable set to 1 means that dwm will respect those restrictions even when the window is tiled.