summaryrefslogtreecommitdiff
path: root/openbox/event.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-05 16:53:48 +0000
committerDana Jansens <danakj@orodu.net>2007-05-05 16:53:48 +0000
commit378adaa94f0fac07dc65f0531e950c7ec8944cdf (patch)
tree577adde03533205ee3d56ec3ce4ce0821c45fbbd /openbox/event.c
parentac56fe1602af7f4a4ae5c10cfe83e3d9eaf02b4d (diff)
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.
Diffstat (limited to 'openbox/event.c')
-rw-r--r--openbox/event.c2
1 files changed, 1 insertions, 1 deletions
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 :