Summary: | X server does not ungrab mouse pointer when grabbing client exits | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Jamey Sharp <jamey> | ||||
Component: | Server/General | Assignee: | Xorg Project Team <xorg-team> | ||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||
Severity: | normal | ||||||
Priority: | high | CC: | anpaza, hramrach | ||||
Version: | 6.9.0 | ||||||
Hardware: | x86 (IA32) | ||||||
OS: | Linux (All) | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
Jamey Sharp
2006-04-19 14:33:09 UTC
Created attachment 5371 [details]
Log file from the failing X session
Yes, the bug reoccurs from a failsafe xterm session. The resulting Xorg.0.log file is identical. The X Test Suite results appear to be the same on a working X server, for whatever that's worth. Yes, this is a known long-standing issue; running another game that grabs the pointer and exiting it cleanly usually restores normal operation. Maybe the server only fails to ungrab under specific circumstances not covered by the test suite? Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future. I have the same problem with my application. It's a PITA to debug it since it crashes pretty often ;-) and I have to restart X after every crash. I'll try to write a simple XGrabPointer/XUngrabPointer app like suggested above though. Thanks for the tip. QEMU has this problem too. I wonder if this is at all related to #10048? (In reply to comment #6) > QEMU has this problem too. I wonder if this is at all related to #10048? Quite possibly, can you try the patch from bug 10048 (note how bugzilla automatically generates a link for this syntax :)? You can also try to configure the ungrab key combos in ServerFlags section in the X config. Actually, we're pretty careful about how we handle actual grabs, and make sure to shut them down on client exit. There was a bug for quite a while where we didn't shut down DGA grabs -- used heavily by games -- properly on client shutdown, which has since been fixed. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.