/*
* 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 */