check for subwindow
Fix FS#31 Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
9bc67800d2
commit
c36ef2797b
2
event.c
2
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:
|
||||
|
|
Loading…
Reference in New Issue