-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Wayland] Explicitly set min/max size for xdg-shell #4065
Conversation
Test program:
|
Updated to add |
SDL_VideoData *data = _this->driverdata; | ||
SDL_WindowData *wind = window->driverdata; | ||
|
||
if (resizable) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a video my girlfriend and I want back
This is a Git-based replacement for #4047.
As a refresher: Wayland desktops currently have no way of knowing that our window is fixed-size; while we do ignore resize events in our callbacks, the desktop will still provide resize UI and a maximize button that can mess with the window in unintended ways. This patch is meant to address this, though on KDE the fix doesn't work until you toggle the border. If anyone familiar with KDE's implementation of server-side decorations we could use some help with this one...