summaryrefslogtreecommitdiff
path: root/src/frames.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2001-08-19 01:19:54 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-08-19 01:19:54 +0000
commit246ac5e578323795b539bd51e38673a0ba6642b6 (patch)
tree0cab26d0dd86d6f76be45ba1065527e45d0bf779 /src/frames.h
parent505282697a9b073c8fa0f0108c905df65489789c (diff)
downloadmetacity-246ac5e578323795b539bd51e38673a0ba6642b6.tar.gz
metacity-246ac5e578323795b539bd51e38673a0ba6642b6.tar.bz2
use the delay exposes feature to avoid the scren dirt
2001-08-18 Havoc Pennington <hp@pobox.com> * src/effects.c (effects_draw_box_animation_timeout): use the delay exposes feature to avoid the scren dirt * src/ui.c (meta_image_window_set_position): use gtk_window_move() to set the position (meta_ui_push_delay_exposes): (meta_ui_pop_delay_exposes): feature to let us delay redraws until after we do server-grabbed draw-on-inferiors effects
Diffstat (limited to 'src/frames.h')
-rw-r--r--src/frames.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/frames.h b/src/frames.h
index 4531d2a..a3a77f8 100644
--- a/src/frames.h
+++ b/src/frames.h
@@ -66,6 +66,7 @@ struct _MetaUIFrame
Window xwindow;
GdkWindow *window;
PangoLayout *layout;
+ guint expose_delayed : 1;
};
struct _MetaFrames
@@ -81,6 +82,8 @@ struct _MetaFrames
guint tooltip_timeout;
MetaUIFrame *last_motion_frame;
+
+ int expose_delay_count;
};
struct _MetaFramesClass
@@ -121,4 +124,7 @@ void meta_frames_notify_menu_hide (MetaFrames *frames);
Window meta_frames_get_moving_frame (MetaFrames *frames);
+void meta_frames_push_delay_exposes (MetaFrames *frames);
+void meta_frames_pop_delay_exposes (MetaFrames *frames);
+
#endif