SDL/wayland-protocols
Frank Praznik 0a45525242 wayland: Handle min/max sizes in fixed-size windows with viewports
Wayland is sometimes at-odds with clients that want to enforce an aspect ratio or min/max window size, as certain window states have dimensions that either must be obeyed (maximized), or will give terrible results if they aren't (tiled). Use a viewport and a masking subsurface to handle cases where surfaces are unable to match the exact window size.

The changes made to accommodate this also catches some additional windowing related edge-cases, simplifies synchronization, and prevents commits before a buffer has been attached to the surface.
2026-02-28 12:55:17 -05:00
..
alpha-modifier-v1.xml wayland: Implement SetWindowOpacity via the alpha modifier protocol 2024-05-26 14:17:05 -04:00
color-management-v1.xml wayland: Update the color management protocol 2025-12-15 13:54:31 -05:00
cursor-shape-v1.xml wayland: Add cursor-shape-v1 protocol support 2024-03-12 20:54:55 -04:00
fractional-scale-v1.xml Support wayland fractional scale protocol 2022-11-29 16:35:12 -05:00
frog-color-management-v1.xml video: Expose HDR metadata per-window 2024-06-20 15:55:07 -04:00
idle-inhibit-unstable-v1.xml
input-timestamps-unstable-v1.xml wayland: Add high-resolution event timestamp support 2022-12-04 16:56:26 -08:00
keyboard-shortcuts-inhibit-unstable-v1.xml
pointer-constraints-unstable-v1.xml
pointer-gestures-unstable-v1.xml Add SDL Pinch events (#9445) 2025-10-12 14:44:23 -07:00
pointer-warp-v1.xml wayland: Implement the pointer warp protocol 2025-06-13 15:40:49 -04:00
primary-selection-unstable-v1.xml Add support for X11 primary selection (#6132) 2022-09-14 09:28:35 -07:00
relative-pointer-unstable-v1.xml
single-pixel-buffer-v1.xml wayland: Handle min/max sizes in fixed-size windows with viewports 2026-02-28 12:55:17 -05:00
tablet-v2.xml wayland: Update tablet-v2 protocol file to stable version 2024-04-11 18:34:02 -04:00
text-input-unstable-v3.xml wayland: Add support for text-input-unstable-v3 2021-07-29 14:43:46 -07:00
viewporter.xml video: wayland: Use wp-viewporter for fullscreen with non-native resolutions 2022-03-28 13:18:26 -04:00
wayland.xml CodeSpell 2026-02-07 18:14:00 +03:00
xdg-activation-v1.xml wayland: Implement RaiseWindow with xdg-activation 2021-06-02 12:59:07 -07:00
xdg-decoration-unstable-v1.xml
xdg-dialog-v1.xml Add support for modal windows to more platforms 2024-04-30 13:47:57 -04:00
xdg-foreign-unstable-v2.xml wayland: Add the xdg-foreign-unstable-v2 protocol 2024-03-15 18:30:05 -04:00
xdg-output-unstable-v1.xml video: wayland: Use xdg-output for retrieving the desktop dimensions 2022-03-23 19:43:11 -04:00
xdg-shell.xml wayland: Add xdg_toplevel v7 edge constraint support 2025-04-13 11:10:49 -04:00
xdg-toplevel-icon-v1.xml wayland: Add support for setting window icons via the xdg-toplevel-icon-v1 protocol 2024-08-31 09:38:43 -04:00