lp:~vanvugt/compiz-core/fix-925293

Created by Daniel van Vugt and last modified
Get this branch:
bzr branch lp:~vanvugt/compiz-core/fix-925293
Only Daniel van Vugt can upload to this branch. If you are Daniel van Vugt please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Daniel van Vugt
Project:
Compiz Core
Status:
Merged

Recent revisions

3003. By Daniel van Vugt

Preventative maintenance;
  1. Don't grab the keyboard if some other plugin already has.
  2. Make possibleTap a void* so that no one tries to dereference it.
  3. Reset possibleTap when plugins change, so there can be no confusion.

3002. By Daniel van Vugt

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.

3001. By Daniel van Vugt

Comment out the test case (water plugin)

3000. By Daniel van Vugt

Remove debugging code and tidy up.

2999. By Daniel van Vugt

First fully-functioning version.

2998. By Daniel van Vugt

Fixed the aforementioned issue.

New issue: Need to ungrab the keyboard at the right time yet. It remains
grabbed if a tap was triggered. Everything else seems to work now.

2997. By Daniel van Vugt

Some progress made.

Now a tap is only triggered by an actual key tap and not if it's being used
as a modifier. One remaining bug however: The first modifier+otherkey press
is absorbed and never reaches the app. So pressing ^C in a terminal does
nothing the first try, but works thereafter.

2996. By Daniel van Vugt

Initial "tap" support (trigger an action on press-and-release but only when
nothing else was pressed in between). (LP: #925293)

FIXME: Still missing detection of the intermediate application keystrokes
that compiz doesn't have passive grabs for.

2995. By Alan Griffiths

Another function resurrected

2994. By Alan Griffiths

Fix for https://bugs.launchpad.net/compiz-plugins-extra/+bug/929449 and failing tests in package build

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:compiz-core
This branch contains Public information 
Everyone can see this information.

Subscribers