summaryrefslogtreecommitdiff
path: root/openbox/moveresize.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/moveresize.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/moveresize.c')
-rw-r--r--openbox/moveresize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/moveresize.c b/openbox/moveresize.c
index 9f9d4dfd..b0b1f2a1 100644
--- a/openbox/moveresize.c
+++ b/openbox/moveresize.c
@@ -153,7 +153,7 @@ void moveresize_start(ObClient *c, gint x, gint y, guint b, guint32 cnr)
moving = (cnr == prop_atoms.net_wm_moveresize_move ||
cnr == prop_atoms.net_wm_moveresize_move_keyboard);
- if (moveresize_in_progress || !frame_visible(c->frame) ||
+ if (moveresize_in_progress || !c->frame->visible ||
!(moving ?
(c->functions & OB_CLIENT_FUNC_MOVE) :
(c->functions & OB_CLIENT_FUNC_RESIZE)))