summaryrefslogtreecommitdiff
path: root/openbox/frame.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-05 14:36:41 +0000
committerDana Jansens <danakj@orodu.net>2007-05-05 14:36:41 +0000
commit48a4eafb42ac2ab9badc2f7273cf64ec88a6f350 (patch)
tree877bd425b44fef563816868dcd3b4ea1c6f2fe4a /openbox/frame.h
parentcf67851d6d36eb45ae722ad017ecaf91ba4c21fd (diff)
better iconify animation code. now it is time limited even under heavy load or whatever. yay
Diffstat (limited to 'openbox/frame.h')
-rw-r--r--openbox/frame.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/openbox/frame.h b/openbox/frame.h
index 8f210b0c..4ffc7df2 100644
--- a/openbox/frame.h
+++ b/openbox/frame.h
@@ -145,14 +145,12 @@ struct _ObFrame
gboolean flash_on;
GTimeVal flash_end;
- /*! The step which the client is currently in for animating iconify and
- restore.
- 0 means that it is not animating. FRAME_ANIMATE_ICONIFY_STEPS is the
- first step for iconifying, and -FRAME_ANIMATE_ICONIFY_STEPS is the
- forst step for restoring. It counts towards 0 either way. Visually,
- +x == -(FRAME_ANIMATE_ICONIFY_STEPS-x+1)
+ /*! Is the frame currently in an animation for iconify or restore.
+ 0 means that it is not animating. > 0 means it is animating an iconify.
+ < 0 means it is animating a restore.
*/
- gint iconify_animation_step;
+ gint iconify_animation_going;
+ GTimeVal iconify_animation_end;
ObFrameIconifyAnimateFunc iconify_animation_cb;
gpointer iconify_animation_data;
};