]> git.decadent.org.uk Git - ion3.git/blobdiff - ioncore/key.h
Imported Upstream version 20090110
[ion3.git] / ioncore / key.h
index e5ba29c0382982aa8d4efba4c28367b23a48a28f..cb5831d4529b1db9468fa998d13ce8c12b7a8c3e 100644 (file)
@@ -1,12 +1,9 @@
 /*
  * ion/ioncore/key.h
  *
- * Copyright (c) Tuomo Valkonen 1999-2006
+ * 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_KEY_H
 
 #include <X11/keysym.h>
 
+#include <libmainloop/hooks.h>
 #include "common.h"
 #include "clientwin.h"
 
 extern void ioncore_do_handle_keypress(XKeyEvent *ev);
 extern void clientwin_quote_next(WClientWin *cwin);
-extern XKeyEvent *ioncore_current_key_event();
+extern bool ioncore_current_key(uint *kcb, uint *state, bool *sub);
+
+extern void region_free_submapstat(WRegion *reg);
+
+extern WHook *ioncore_submap_ungrab_hook;
 
 #endif /* ION_IONCORE_KEY_H */