compositor-headless, compositor-rdp: Don't call weston_output_move()

The call to weston_output_move() when creating the output is
unnecessary. That is already called by wesotn_output_init().
This commit is contained in:
Ander Conselvan de Oliveira 2013-12-13 22:10:52 +02:00 committed by Kristian Høgsberg
parent a4b54c0b79
commit 62a9075a6b
2 changed files with 0 additions and 4 deletions

View file

@ -114,8 +114,6 @@ headless_compositor_create_output(struct headless_compositor *c,
output->base.make = "weston";
output->base.model = "headless";
weston_output_move(&output->base, 0, 0);
loop = wl_display_get_event_loop(c->base.wl_display);
output->finish_frame_timer =
wl_event_loop_add_timer(loop, finish_frame_handler, output);

View file

@ -486,8 +486,6 @@ rdp_compositor_create_output(struct rdp_compositor *c, int width, int height,
if (pixman_renderer_output_create(&output->base) < 0)
goto out_shadow_surface;
weston_output_move(&output->base, 0, 0);
loop = wl_display_get_event_loop(c->base.wl_display);
output->finish_frame_timer = wl_event_loop_add_timer(loop, finish_frame_handler, output);