From c36ef2797bebb351a323338e15f1c64cf8f04ae7 Mon Sep 17 00:00:00 2001 From: Nikos Ntarmos Date: Fri, 11 Jan 2008 19:18:43 +0100 Subject: [PATCH] check for subwindow Fix FS#31 Signed-off-by: Julien Danjou --- event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event.c b/event.c index 530ada13..116083a7 100644 --- a/event.c +++ b/event.c @@ -71,7 +71,7 @@ handle_event_buttonpress(XEvent *e) for(screen = 0; screen < globalconf.nscreens; screen++) for(statusbar = globalconf.screens[screen].statusbar; statusbar; statusbar = statusbar->next) - if(statusbar->window == ev->window) + if(statusbar->window == ev->window || statusbar->window == ev->subwindow) switch(statusbar->position) { case Top: