Merge lp:~vanvugt/compiz-core/fix-806255 into lp:compiz-core
Proposed by
Daniel van Vugt
Status: | Merged |
---|---|
Merged at revision: | 3045 |
Proposed branch: | lp:~vanvugt/compiz-core/fix-806255 |
Merge into: | lp:compiz-core |
Diff against target: |
49 lines (+12/-6) 1 file modified
src/event.cpp (+12/-6) |
To merge this branch: | bzr merge lp:~vanvugt/compiz-core/fix-806255 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alan Griffiths | Approve | ||
Review via email: mp+96095@code.launchpad.net |
Description of the change
Don't respond to hotkeys if some other window (like a VM or locked
screen saver) already has an active keyboard grab. (LP: #806255)
Also fixed a minor pointer mistake in isBound(), and removed a redundant
call to XFlush.
To post a comment you must log in.
The real question is: Why does compiz still receive key events while other apps have the keyboard fully grabbed? I'm not entirely sure, but it only seems to happen with modifier-only hotkeys. As such, it's possibly caused by listening to xkbEvent. So it's possible a better long-term solution would be to rewrite modifier-only key handling without using xkbEvent. Not sure.