Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Cut off window content on KWin when requesting bigger window size than desktop allows #954
I'm requesting a 720x1440 window from Allegro. On my usual resolution, 3200x1800, everything works fine - however, after changing it to 1600x900 (or scaling x2 with XWayland), the window stops to fit into the desktop.
In this case, KWin seems to somehow limit the window size, resulting in a window of size 720x851 (49 pixels are taken by the decoration). However, Allegro doesn't seem to notice that - al_get_window_width/al_get_window_height return 720 and 1440 respectively, and the window contents are being cut from the top (so the bottom corners are visible, but the top ones are not).
Haven't tested on other window managers yet.