FS#72287 - sdl2: add Wayland client side decoration support/libdecor
Attached to Project:
Arch Linux
Opened by Alexander Mezin (Sanya_M) - Wednesday, 29 September 2021, 19:08 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Thursday, 30 September 2021, 09:49 GMT
Opened by Alexander Mezin (Sanya_M) - Wednesday, 29 September 2021, 19:08 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Thursday, 30 September 2021, 09:49 GMT
|
Details
Description:
SDL2 supports client side decorations since 2.0.16: https://github.com/libsdl-org/SDL/commit/9e6fcbe72c3550d2007d54bcdab1178f90803eda However, it needs an additional dependency: https://gitlab.gnome.org/jadahl/libdecor (there's a package in AUR: https://aur.archlinux.org/packages/libdecor/) With the current sdl2 package, windowed SDL2 apps have no window frame under GNOME Shell on Wayland, when run with SDL_VIDEODRIVER=wayland. Steps to reproduce: - Run GNOME Shell Wayland session - Install, for example, supertuxkart: # pacman -S supertuxkart - Run it with SDL_VIDEODRIVER=wayland: $ SDL_VIDEODRIVER=wayland supertuxkart - It will start windowed, but the window will have no frame |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Thursday, 30 September 2021, 09:49 GMT
Reason for closing: Fixed
Thursday, 30 September 2021, 09:49 GMT
Reason for closing: Fixed
Comment by
Sven-Hendrik Haase (Svenstaro) -
Thursday, 30 September 2021, 00:18 GMT
Comment by
Alexander Mezin (Sanya_M) -
Thursday, 30 September 2021, 00:56 GMT
Check out -3 and see whether that works for you.
Yes, it works, thank you!