Description
Steam with Proton 5.13.
- Open Steam on the output on the right
- Start Iron Harvest
- A full screen window shows up. Clicks correctly skip the intro, however the click coordinates are wrong and it's not possible to use the game menu at all.
- Move workspace to the left output, clicks now work again
- Move to the right output again, still works
It seems the game fullscreens itself before mapping on the left output. However X11 doesn't have a "fullscreen output" hint, the window position is used instead to tell the WM which output to pick. We ignore the position right now.
The window sends a bunch of configure requests at position 0,0, and we send back some configure notify events at 1680,0.
00:00:37.164 [DEBUG] [xwayland/xwm.c:926] XCB_CONFIGURE_REQUEST (37748737) [1680x1050+0,0]
00:00:37.164 [sway/desktop/xwayland.c:244] configure 1680.000000 0.000000 2194x1234
We could extract the output from the position when the window is mapped, however I'm not sure all X11 clients set the position properly when mapping (we don't want to open all X11 fullscreen windows on the left output when the user has the right output focused). Ultimately I think the game is just buggy and should handle configure events even if they don't match its expectations.
Activity