Cloudef / orbment

Modular Wayland compositor
Other
246 stars 16 forks source link

Mouse position desynchronization in Xwayland clients #123

Open simon-v opened 9 years ago

simon-v commented 9 years ago

Example 1: In ZDoom, when mouselook is used, the slightest cursor move results in a cascade of seemingly random camera jerks which makes targeting impossible.

Example 2: In OpenRA, when it's running in a window, the cursor highlight appears way below the actual mouse cursor. In fullscreen mode the highlighting is positioned correctly.

Those suggest that the mouse position rapidly switches between (for lack of a better description) its Wayland coords and its X11 coords, resetting to the X11 coords when the mouse is not moving. This also suggests that Orbment itself and the Xwayland client running under it have different ideas on what the screen size is.

Linux 4.1.4-1-Arch orbment-git r414 wlc-git r668

Cloudef commented 9 years ago

Is this same issue as #67?

simon-v commented 9 years ago

Might be related, yes. The symptoms are fairly different here and there, however, so it's hard to say for sure without (much) more digging.