~unity-team/compiz-core/compiz-core.fix_767095

  • Committer: Sam Spilsbury
  • Date: 2011-04-30 13:35:17 UTC
  • Revision ID: git-v1:8655885ced663539527f0b7aaa701bfe6008a34a
Release implicit grabs as soon as we handle events.

Implicit keyboard grabs which are created by the pressing and holding of a key
that was passively grabbed by XGrabKey are evil for a number of reasons.First
of all, there isn't any way to track them or to track which window they are
grabbed on so if a plugin makes an active grab and then releases it, the
passive grab is released on release, which means there is an inconsistency
between holding the key and having the grab. Secondly, if plugins actually
need a grab on all keys, they are better switching to an active grab
rather than relying on the passive one. Finally, if there is a passive grab by
another application by a key-modifier combo which has the same modifier mask
as the currently activated passive grab, then it means that this application
won't get its grab activated as long as the modifier is held down.
Filename Latest Rev Last Changed Committer Comment Size
..
gnome 376 17 years ago David Reveman Move gnome specific files into gtk/gnome directory Diff
window-decorator 375 17 years ago David Reveman Rename gnome directory to gtk. Diff
CMakeLists.txt 2655 13 years ago Sam Spilsbury Require at leasst gtk 2.18.0. 3.1 KB Diff Download File
config.h.gtk.in 2127.1.34 15 years ago Danny Baumann Define USE_METACITY and USE_GCONF in the source. 727 bytes Diff Download File