X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=ioncore%2Fbinding.c;h=740e67baa6cf09dc862e0cebf60ef3a67449c478;hb=b355f9832d094cdb9e700e01cbc063e3fdb4f58b;hp=4d03abdb0d987d39f7ce9a1afd900d68392a7e1b;hpb=8366314611bf30a0f31d25bf5f5023186fa87692;p=ion3.git diff --git a/ioncore/binding.c b/ioncore/binding.c index 4d03abd..740e67b 100644 --- a/ioncore/binding.c +++ b/ioncore/binding.c @@ -1,12 +1,9 @@ /* * ion/ioncore/binding.c * - * Copyright (c) Tuomo Valkonen 1999-2006. + * Copyright (c) Tuomo Valkonen 1999-2007. * - * Ion is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * (at your option) any later version. + * See the included file LICENSE for details. */ #include @@ -486,6 +483,11 @@ static WBinding *do_bindmap_lookup_binding(WBindmap *bindmap, binding=search_binding(bindmap, &tmp); + if(BINDING_IS_PSEUDO(act)){ + /* No use trying anything else */ + return binding; + } + if(binding==NULL){ tmp.state=AnyModifier; binding=search_binding(bindmap, &tmp);