~smspillaz/compiz-core/compiz-core.decor_synchronization

Viewing all changes in revision 2974.19.7.

  • Committer: Daniel van Vugt
  • Date: 2012-02-14 11:39:59 UTC
  • mto: (2974.2.28 compiz-core.merges)
  • mto: This revision was merged to the branch mainline in revision 2986.
  • Revision ID: vanvugt@gmail.com-20120214113959-791nignihhr70buo
Smaller implementation of tap detection (LP: #925293)

This version is smaller because it uses the existing Terminate logic and
allows you to decide in your Terminate callback whether you want to respond
just to "taps" to to all key releases.

If your Terminate callback has both state bits set:
    CompAction::StateTermKey
    CompAction::StateTermTapped
then you can be sure the key was tapped and not used as a modifier of another
key.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: