summaryrefslogtreecommitdiff
path: root/src/ui.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/ui.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/ui.h')
-rw-r--r--src/ui.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ui.h b/src/ui.h
index 6c03ae6..de9e549 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -109,4 +109,13 @@ GdkPixbuf* meta_gdk_pixbuf_get_from_window (GdkPixbuf *dest,
int dest_y,
int width,
int height);
+
+/* Used when we have a server grab and draw all over everything,
+ * then we need to handle exposes after doing that, instead of
+ * during it
+ */
+void meta_ui_push_delay_exposes (MetaUI *ui);
+void meta_ui_pop_delay_exposes (MetaUI *ui);
+
#endif
+