XWayland input broken on vertically stacked monitor with fractional scaling and force_zero_scaling = true #10278
Replies: 2 comments 1 reply
-
+1. I think this is a regression of #2916. I think the underlying XWayland window is being rendered off-screen (not centered) in my case which is causing the mouse values reported to the window to be incorrectly clamped:
Possibly related, putting the window into floating mode is also violating the |
Beta Was this translation helpful? Give feedback.
-
Been trying to reproduce the bug : Steps :
Now the lower bottom is not clickable for some apps, in my case : the app in question is Eternal Lands a game
Info :
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
When using a dual-monitor setup arranged vertically with fractional scaling enabled (e.g., 1.25), mouse input fails to register on Xwayland applications on the bottom monitor. This issue only occurs when xwayland { force_zero_scaling = true } is enabled in the Hyprland configuration.
This seems similar to #5, however my monitors are not overlapping.
Environment
Hyprland version:
Hyprland 0.48.1 built from branch at commit 29e2e59fdbab8ed2cc23a20e3c6043d5decb5cdc (version: bump to v0.48.1).
Xwayland version:
The X.Org Foundation Xwayland Version 24.1.6 (12401006) X Protocol Version 11, Revision 0
Workarounds
On my 2880x1800 monitors, placing the bottom monitor 314 or more pixels below the top one (at position
0x2114
allows input to go through in xwayland apps. I'm not sure the significance of 314/2114 pixels, but it seems like the monitors internally overlap when less than this (even though there's a gap between my monitors and I can't move my mouse between them)Beta Was this translation helpful? Give feedback.
All reactions