[Bug 134677] window focus goes random with two screens
Alec Kloss
alec-keyword-kde.org.3e97c8 at setfilepointer.com
Fri Jan 18 01:32:01 GMT 2008
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=134677
------- Additional Comments From alec-keyword-kde.org.3e97c8 setfilepointer com 2008-01-18 02:32 -------
This is indeed super annoying. I too have the multiscreen X configuration and like to play DVDs, etc, on the second screen while working on the first. Periodically, focus mystically jumps to the second screen during desktop switches, often resulting in me stopping vlc to the great annoyance of those watching the DVD. I suspect this is related to the fact that there's a kwin process for each screen; I believe there may be race condition between them. For now, just killing the kwin for the second screen works, but that's not much of a long term solution. I've noticed that setCurrentDesktop() starts getting called in the second kwin; is it possible to add a check at the top of this to check to see if the pointer is even on the current screen, and if it's not, to return immediately?
More information about the Unassigned-bugs
mailing list