Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cut off window content on KWin when requesting bigger window size than desktop allows #954

dos1 opened this Issue Nov 1, 2018 · 0 comments


None yet
1 participant
Copy link

dos1 commented Nov 1, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.