[Xquartz-dev] a bug with Wine

doh123 doh123 at doh123.com
Thu Feb 16 20:07:18 PST 2012


I have a minor issue, that affects me a lot in Wineskin, but its reproducible in XQuartz… I was wondering if maybe I can get a pointer of where to look in the code.. of what might be causing it.

I'll try to explain the situation.  Running Oblivion through Wine, if XQuartz is already running, the game seems to launch fine every time.  If XQuartz is not running, then usually when launching Oblivion through Wine, which in turns starts XQuartz, the mouse pointers are not in sync.  The OSX pointer is in a different spot on the screen then the X pointer, though they still both move, and it makes it impossible to get the pointer everywhere on the game screen.  In Virtual Desktop mode, you can just switch to another app and back and it re-syncs and works, fullscreen you can't really fix it easy since you can't switch back into fullscreen mode if you CMD+Opt+A out in normal XQuartz…  This is the only game I've personally seen it in so far, but I'm sure its not the only one.

In WineskinX11 I see the same bug pretty much all the time.  It only starts in newer builds of Wine, after a lot of the Xinput2 switch over… even with the latest xorg-server git, and even back in the 1.10 versions.  With the XQuartz tests I'm using 2.7.1rc4

Where exactly in XQuartz source can I look for where the two pointers are supposed to match up in the same spot on the screen, so I can put some extra check in there, or figure out whats going on… since it only happens sometimes and not all the time, and only when XQuartz has to start up at the same time, I'm assuming it might be some type of race condition?

Any input would be helpful...


More information about the Xquartz-dev mailing list