]> Dogcows Code - chaz/openbox/commitdiff
merge r6004 from trunk
authorDana Jansens <danakj@orodu.net>
Thu, 3 May 2007 04:32:44 +0000 (04:32 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 3 May 2007 04:32:44 +0000 (04:32 +0000)
openbox/keyboard.c

index bf8d63ae972313cd8c35df2b04f89825536a4c62..18ca37f72d14aa3f8b66f669d253efcad5d7a424 100644 (file)
@@ -329,7 +329,8 @@ void keyboard_shutdown(gboolean reconfig)
     if (!reconfig)
         client_remove_destructor(keyboard_interactive_end_client);
 
-    keyboard_interactive_end(0, TRUE, 0, TRUE);
+    if (istate.active)
+        keyboard_interactive_end(0, TRUE, 0, TRUE);
 
     ob_main_loop_timeout_remove(ob_main_loop, chain_timeout);
 
This page took 0.024737 seconds and 4 git commands to generate.