FS#21092 - [xorg] Something steals (grabs) X server pointer
Attached to Project:
Arch Linux
Opened by Tomas Mudrunka (harvie) - Tuesday, 05 October 2010, 18:09 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Tuesday, 31 May 2011, 20:25 GMT
Opened by Tomas Mudrunka (harvie) - Tuesday, 05 October 2010, 18:09 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Tuesday, 31 May 2011, 20:25 GMT
|
Details
Description:
This started to occur about week ago. I am using latest gnome and latest xserver and sometimes i can't use mouse to witch windows or i can use mouse only in some applications while i can't use it in others. Also sometimes i can't switch windows using alt+tab (sometimes i can workaround it by using shortcut to display desktop and then use alt+tab, but it does not work everytime). sometimes i can click only to windows, but not to gnome panel (or-vice versa). executing commands using alt+f2 works almost at everytime. sometimes i can only navigate through desktop icons using keyboard arrows or activate gnome-panel menu using alt+f1, but i am prevented from doing anything else. this is very annoying (because only thing i can do is ctrl+alt+f1 and killing gnome/gdm from vc1 and therefore i loose everything that i have opened/unsaved in that desktop session). When i tried to lock screen Xscreensaver said "Couldn't grab pointer" when screen was locked (well i was still able to unlock it, but it didn't solved anything). Steps to reproduce: be using archlinux desktop with gdm,gnome,pidgin and some web browser for a while (i don't know what triggers this, since it does not happens all the time, sometimes i use the same set of applications without an issue). Does somebody experience the same? Does somebody knows some workaround (eg. few lines of C code, that can "ungrab" X pointer from captivity)? |
This task depends upon
Closed by Rémy Oudompheng (remyoudompheng)
Tuesday, 31 May 2011, 20:25 GMT
Reason for closing: None
Additional comments about closing: Nothing to do.
Tuesday, 31 May 2011, 20:25 GMT
Reason for closing: None
Additional comments about closing: Nothing to do.
man 3 xgrabpointer
int XUngrabPointer(Display *display, Time time);
The XUngrabPointer function releases the pointer and any queued events if this client has actively grabbed the pointer from XGrabPointer, XGrabButton, or from a normal button press.
BTW i have experinced the same problem even with firefox.
is there some way to detect which process grabbed the pointer so i will not need to try killing all processes in future?
You could be correct about the flash plugin, which also explains why both firefox and epiphany (and probably any other browser) is affected by this.
in firefox we have luck and we can preload the flashplayer only while leaving firefox untouched as it runs in separate processes. eg.: by looking for "flashplayer.so" in argv.
it works after downgrade from:
[extra]
Server=http://arm.konnichi.com/2010/07/01/extra/os/i686