[beryl-commits] compiz mirror: Changes to 'master' (4da1f9b8a42d33dd9b15b7601f813f54579e6ae7)

compiz at server.beryl-project.org compiz at server.beryl-project.org
Mon Jun 4 23:40:08 CEST 2007


New commits:
commit 4da1f9b8a42d33dd9b15b7601f813f54579e6ae7
Author: Kristian Lyngstol <kristian at bohemians.org>
Date:   Mon Jun 4 23:38:13 2007 +0200

    Stop processing a keypress after a plugin has handled it.


 src/event.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Modified: compiz/src/event.c
===================================================================
--- compiz/src/event.c
+++ compiz/src/event.c
@@ -409,7 +409,7 @@ triggerKeyPressBindings (CompDisplay *d,
 		if ((bindMods & modMask) == (event->xkey.state & modMask))
 		    if ((*action->initiate) (d, action, state,
 					     argument, nArgument))
-			break;
+			return TRUE;
 	    }
 	    else if (!d->xkbEvent && action->key.keycode == 0)
 	    {



More information about the commits mailing list