From: Dana Jansens Date: Thu, 29 Apr 2010 02:05:06 +0000 (-0400) Subject: use clicks in prompts X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=b9b0284e3e4651618039e9a25aa7056f9596cb01;p=chaz%2Fopenbox use clicks in prompts --- diff --git a/openbox/event.c b/openbox/event.c index cfa3b4e3..41f3b08e 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -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;