From 5cf61ee02354c1c9f80c11f3796afc4b948055d6 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 13 Apr 2003 07:18:28 +0000 Subject: move the openbox engine into librender and the kernel. the theme is loaded and stored inside librender. the frame is decorated and managed inside the kernel. --- plugins/keyboard/keyboard.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/keyboard') diff --git a/plugins/keyboard/keyboard.c b/plugins/keyboard/keyboard.c index 81809649..115c1182 100644 --- a/plugins/keyboard/keyboard.c +++ b/plugins/keyboard/keyboard.c @@ -116,6 +116,8 @@ static void event(ObEvent *e, void *foo) if (e->type == Event_X_KeyRelease) return; + g_assert(e->type == Event_X_KeyPress); + if (e->data.x.e->xkey.keycode == reset_key && e->data.x.e->xkey.state == reset_state) { reset_chains(); -- cgit v1.2.3