Bug 1277170 - [Wayland] Locking mouse cursor to Wine window doesn't work
[Wayland] Locking mouse cursor to Wine window doesn't work
Status: NEW
Product: Fedora
Classification: Fedora
Component: xorg-x11-server (Show other bugs)
25
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: X/OpenGL Maintenance List
Fedora Extras Quality Assurance
:
Depends On:
Blocks: WaylandRelated
  Show dependency treegraph
 
Reported: 2015-11-02 09:46 EST by srakitnican
Modified: 2016-10-31 08:36 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description srakitnican 2015-11-02 09:46:29 EST
Description of problem: In LFS.exe (live for Speed) pressing CTRL + C locks mouse cursor to window boundaries, important because steering can be done with mouse. In X.org that feature works fine, but not under Wayland.


Version-Release number of selected component (if applicable):


How reproducible: Always


Steps to Reproduce:
1. Start the game
2. Press Ctrl + C until "CTRL + C - mouse clipped to window" message appears
3. Try moving mouse outside LFS.exe window.

Actual results:


Expected results:


Additional info: https://bugs.winehq.org/attachment.cgi?id=52687
Comment 1 Olivier Fourdan 2015-11-03 04:50:15 EST
That would be a duplicate of bug 1242322.

There is no relative/locking pointer confinement in Wayland *yet*, it's still under discussion/review upstream.

http://lists.freedesktop.org/archives/wayland-devel/2014-December/018653.html

and

http://lists.freedesktop.org/archives/wayland-devel/2015-October/024726.html
Comment 2 srakitnican 2016-10-27 12:23:34 EDT
Tested with latest xorg-x11-server build containing Xwayland fixes, mouse cursor still can't be locked to window.

$ rpm -q xorg-x11-server-Xwayland 
xorg-x11-server-Xwayland-1.19.0-0.3.20161026.fc25.x86_64

Note You need to log in before you can comment on or make changes to this bug.