use clicks in prompts
authorDana Jansens <danakj@orodu.net>
Thu, 29 Apr 2010 02:05:06 +0000 (22:05 -0400)
committerDana Jansens <danakj@orodu.net>
Thu, 29 Apr 2010 02:05:44 +0000 (22:05 -0400)
openbox/event.c

index cfa3b4e..41f3b08 100644 (file)
@@ -709,6 +709,9 @@ static void event_process(const XEvent *ec, gpointer data)
         {
             used = event_handle_user_input(client, e);
 
+            if (prompt && !used)
+                used = event_handle_prompt(prompt, e);
+
             if (e->type == ButtonPress) {
                 pressed = e->xbutton.button;
                 pressed_win = e->xbutton.subwindow;