compositor: Damage output in weston_output_init
authorBenjamin Franzke <benjaminfranzke@googlemail.com>
Tue, 10 Apr 2012 16:35:33 +0000 (18:35 +0200)
committerBenjamin Franzke <benjaminfranzke@googlemail.com>
Tue, 10 Apr 2012 16:51:49 +0000 (18:51 +0200)
So that hotplugged outputs are marked damaged initially.

src/compositor.c

index 8686c1d..a71b7df 100644 (file)
@@ -2314,6 +2314,7 @@ weston_output_init(struct weston_output *output, struct weston_compositor *c,
 
        output->flags = flags;
        weston_output_move(output, x, y);
+       weston_output_damage(output);
 
        wl_list_init(&output->frame_callback_list);