mirror of
https://github.com/storytold/winit.git
synced 2026-11-30 10:17:38 +01:00
This commit restricts an Xfwm4-specific DPI-preserving hack to Xfwm4 only. The hack saves and restores the DPI-adjusted size until the actual size matches. On tiling WMs like i3 this fails, since the size is constrained by the layout. This in turn causes a never-ending XResizeWindow vs. XConfigureWindow fight between the WM and the client, making the WM, winit client, and Xorg consume all CPU cycles available.