X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=ioncore%2Fregbind.h;h=b4752a067e628ecafee48b52ca8134234f9abf1e;hb=0c733f17d41080cd8240eecc5251d08a1776cdc5;hp=ad1fe6d968718a83bc1e4710cf506876e926869e;hpb=471a5e5f9928e2d324b2e10422a420f458bd63ff;p=ion3.git diff --git a/ioncore/regbind.h b/ioncore/regbind.h index ad1fe6d..b4752a0 100644 --- a/ioncore/regbind.h +++ b/ioncore/regbind.h @@ -1,12 +1,9 @@ /* * ion/ioncore/regbind.h * - * Copyright (c) Tuomo Valkonen 1999-2007. + * Copyright (c) Tuomo Valkonen 1999-2009. * - * 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. */ #ifndef ION_IONCORE_REGBIND_H @@ -21,6 +18,8 @@ DECLSTRUCT(WSubmapState){ uint key, state; WSubmapState *next; + /* ExtlFn leave; */ + /* Watch leave_reg; */ }; @@ -29,7 +28,8 @@ extern void region_remove_bindmap(WRegion *reg, WBindmap *bindmap); extern void region_remove_bindings(WRegion *reg); -extern WBinding *region_lookup_keybinding(WRegion *reg, const XKeyEvent *ev, +extern WBinding *region_lookup_keybinding(WRegion *reg, + int act, uint state, uint kcb, const WSubmapState *sc, WRegion **binding_owner_ret); extern WBinding *region_lookup_binding(WRegion *reg, int act, uint state,