mirror of
https://github.com/brl/mutter.git
synced 2025-07-19 16:40:32 +00:00
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
This commit is contained in:

committed by
Havoc Pennington

parent
505282697a
commit
246ac5e578
@ -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
|
||||
|
Reference in New Issue
Block a user