static gboolean meta_repaint_func (gpointer data) { MetaCompositor *compositor = data; pre_paint_windows (compositor); return TRUE; }
static gboolean meta_repaint_func (gpointer data) { MetaCompositor *compositor = data; GSList *screens = meta_display_get_screens (compositor->display); GSList *l; for (l = screens; l; l = l->next) { MetaScreen *screen = l->data; MetaCompScreen *info = meta_screen_get_compositor_data (screen); if (!info) continue; pre_paint_windows (info); } return TRUE; }