Reported in version: HG 2.0 Reported for operating system, platform: Linux, All
Comments on the original bug report:
On 2020-08-17 01:11:05 +0000, Sebastian Krzyszkowiak wrote:
Created attachment 4440
This patch makes the reported desktop/fullscreen mode aware of screen rotation and hidpi scale, fixing games that don't react well to window resizes on such screens. This is particularly useful on mobile phones such as Librem 5, where plenty of games require landscape screen orientation in order to be playable.
Since there is no way for clients to request mode changes on Wayland, the mode handling code is simplified to just care about current mode, which also makes some games behave better under Wayland.
On 2020-10-09 01:18:38 +0000, Sebastian Krzyszkowiak wrote:
Comment on attachment 4440
From d5013d15119ddfce569c117a7f6d6d2d65c766ff Mon Sep 17 00:00:00 2001
From: Sebastian Krzyszkowiak email@example.com
Date: Sat, 15 Aug 2020 04:56:04 +0200
Subject: [PATCH] wayland: Fix transform and scale handling when setting
int width, height, refresh, transform;
#endif /* SDL_waylandvideo_h_ */
On 2020-10-09 01:20:32 +0000, Sebastian Krzyszkowiak wrote:
Created attachment 4477
Rebased to apply cleanly on current tip.
Sorry for the mess above, I forgot how to use Bugzilla :D
On 2021-01-31 04:29:44 +0000, Sebastian Krzyszkowiak wrote:
Ping? Fullscreen in SDL is unusable on rotated screens under Wayland without this patch; plus I've had another patch prepared for a while now which depends on this one to fix some crashes.
On 2021-01-31 04:35:02 +0000, Sebastian Krzyszkowiak wrote:
Created attachment 4743
Added a second patch that fixes SDL apps crashing when properties of some output change. We're shipping those two patches in PureOS for Librem 5 for a while now, since they're needed for SDL2 games to work reasonably well.