X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=ioncore%2Fregbind.c;h=765d1a8346d862cdea7a55081b33edfa11ac6245;hb=562cb4d37ba7667ac846fc3d426b152d21ef2c22;hp=0b2f371d5912009df44ba98b629075bc0b200582;hpb=803afbc1cd633f6c025bcd9537e9b7e9aedadd0d;p=ion3.git diff --git a/ioncore/regbind.c b/ioncore/regbind.c index 0b2f371..765d1a8 100644 --- a/ioncore/regbind.c +++ b/ioncore/regbind.c @@ -1,12 +1,9 @@ /* * ion/regbind.c * - * Copyright (c) Tuomo Valkonen 1999-2007. + * Copyright (c) Tuomo Valkonen 1999-2008. * - * 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 @@ -199,7 +196,8 @@ void region_remove_bindings(WRegion *reg) } -WBinding *region_lookup_keybinding(WRegion *reg, const XKeyEvent *ev, +WBinding *region_lookup_keybinding(WRegion *reg, + int act, uint state, uint kcb, const WSubmapState *sc, WRegion **binding_owner_ret) { @@ -233,7 +231,7 @@ WBinding *region_lookup_keybinding(WRegion *reg, const XKeyEvent *ev, continue; } - binding=bindmap_lookup_binding(bindmap, BINDING_KEYPRESS, ev->state, ev->keycode); + binding=bindmap_lookup_binding(bindmap, act, state, kcb); if(binding!=NULL) break;