From 378adaa94f0fac07dc65f0531e950c7ec8944cdf Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 5 May 2007 16:53:48 +0000 Subject: yay. way way cleaner code for iconify animations. let people show/hide the frame logically and it will do everything except during animations the frame will show what it needs to for visual display. --- openbox/event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/event.c') diff --git a/openbox/event.c b/openbox/event.c index ec0789d1..49e1cc06 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -1386,7 +1386,7 @@ static void event_handle_user_input(ObClient *client, XEvent *e) { /* the frame may not be "visible" but they can still click on it in the case where it is animating before disappearing */ - if (client && frame_visible(client->frame)) + if (client && client->frame->visible) mouse_event(client, e); } else if (e->type == KeyPress) { keyboard_event((focus_cycle_target ? focus_cycle_target : -- cgit v1.2.3