Xwayland bug when using multiple screens

raichoo <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]>
Hi,

I've noticed a bug with xwayland on FreeBSD when using multiple monitors.
In my setup I'm using 2 monitors A (with width 1680) and B (width 2560).
Monitor A is on the left side in the monitor layout.

When running `firefox` (or any other X11 application) on monitor B it only
appears to track mouse coordinates until it hits x = 880.

Running `xev` I can see that xwayland communicates that the cursors position
is on x = 2560 at the root window when I hit the spot where things are
going wrong.

So for some reason Xwayland does not take into account that monitor B is inside
of a monitor layout and assumes that the origin starts at x = 1680 (width of
monitor A) and does not look beyond x = 880 (1680 + 880 = 2560 which is the size
of monitor B).

I've tried this with sway as well as with my own compositor (written using
wlroots as well). I could reproduce this on 2 different machines).

Anyone else having that problem as well?

Kind regards,
raichoo

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
[email protected] (text/plain, 3.1 KB)
-----BEGIN PGP PUBLIC KEY BLOCK-----

mQINBFxxaJsBEADQmuIyVv+mSAwNNEP3nfkz98Sz5xuC4yU8D3jsPRWLIeEnq1r6
MxjwFcJVpM1A7Q5s9Hy+j6FHTfBdYarG7jNsH85renUSbFrtBcYng7BgRyKAuYCb
pKBx3hNVEjXjZN7FvGUYt4cC9UEiTaSOCqG1vuwMLTnVBB0TCvQaSRGk5jNDd0Q0
+IyWW7nYtamqk47VpBpzm25t1TecWik9MtT44IRq6X1CS6VQNp/w89vv5dv0raBf
rRhz9tjoPie1ubBFwyL7m5o28lUwXxRRymlMwd0eMCcRcghGqa9qQDZuTUTkt/D7
53lqLqPrguU+wgkopZGry4nVt8Td5UDMoLSTfYnuGznDKBSPeRGgzzdsw1Bf4Adj
6v2ZFTF3Me8hHHwhhXpY1chIY+R7eUZ6M5Mmwl3Aq5qppfxtnvRAh+EqvB7+379r
+e1HWFI/6HU5YTIqqGZP2KUO9geNqaM2arSVqMe78SAvcPDzohhUuuH/jsk70EOF
qaDH4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
46cQ8yfP5m+G2EBBeaZsiQUZwcRy385NSUrQQtk9zQbR0TOh3gXLtlPKMj1aFl32
0nAzRtK4oOktte6n17B0NXjPIOKxz4j6yKDzQi5kFEqhCd8ziZk+o12B989hTpwx
HZPmiymNrj1o8eRpcj09ZqQ0kVWt9WHSA6N5vkP6WH2mUkBaIDp5T2raLIO8Ddhx
KtBxaQ5EsThQrRgaOHsjl5EXn8m4QolkYZTs10xopSLwSDWit39uPXwr9sNKwnJn
+zbdnCmJ5S7F13PKOQe3OC4hokkWxcQ8WVPiJjnbakn1Yy7jtKg1psoUA41vGrt/
2MDG1ZDrBqO6QJ9FuYAaEH50OZiNympimhy8BqUThN/qDb8mADGxNPcZ9/mS5AR7
o4kTuD+uxAg=
=yh5q
-----END PGP PUBLIC KEY BLOCK-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.