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.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
0001-wayland-Fix-transform-and-scale-handling-when-settin.patch
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
0001-wayland-Fix-transform-and-scale-handling-when-settin.patch
From d5013d15119ddfce569c117a7f6d6d2d65c766ff Mon Sep 17 00:00:00 2001
From: Sebastian Krzyszkowiak sebastian.krzyszkowiak@puri.sm
Date: Sat, 15 Aug 2020 04:56:04 +0200
Subject: [PATCH] wayland: Fix transform and scale handling when setting
display mode
@@ -274,6 +269,23 @@ display_handle_done(void data,
{
/ !!! FIXME: this will fail on any further property changes! */
SDL_VideoDisplay *display = data;
int width, height, refresh, transform;
} SDL_WaylandOutputData;
#endif /* SDL_waylandvideo_h_ */
2.28.0
On 2020-10-09 01:20:32 +0000, Sebastian Krzyszkowiak wrote:
Created attachment 4477
0001-wayland-Fix-transform-and-scale-handling-when-settin.patch
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
0002-wayland-Don-t-crash-when-the-properties-of-already-e.patch
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.
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
0001-wayland-Fix-transform-and-scale-handling-when-settin.patch (0001-wayland-Fix-transform-and-scale-handling-when-settin.patch, text/plain, 2020-08-17 01:11:05 +0000, 2995 bytes)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:
On 2020-10-09 01:18:38 +0000, Sebastian Krzyszkowiak wrote:
On 2020-10-09 01:20:32 +0000, Sebastian Krzyszkowiak wrote:
On 2021-01-31 04:29:44 +0000, Sebastian Krzyszkowiak wrote:
On 2021-01-31 04:35:02 +0000, Sebastian Krzyszkowiak wrote:
On 2021-02-01 03:08:07 +0000, Sam Lantinga wrote:
On 2021-02-01 06:11:42 +0000, Sebastian Krzyszkowiak wrote:
On 2021-02-06 23:45:50 +0000, Christian Rauch wrote:
On 2021-02-06 23:53:00 +0000, Christian Rauch wrote:
The text was updated successfully, but these errors were encountered: