diff options
author | Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> | 2013-12-13 22:10:52 +0200 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-12-16 16:21:10 -0800 |
commit | 62a9075a6b5dccfb8da35d2ed5a7c8e477f170e1 (patch) | |
tree | f98b72bac66c68c590e4419a93dce999207be7fd /src | |
parent | a4b54c0b791b33bb0f44cd9aacd65f0b530c1b0c (diff) |
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().
Diffstat (limited to 'src')
-rw-r--r-- | src/compositor-headless.c | 2 | ||||
-rw-r--r-- | src/compositor-rdp.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/compositor-headless.c b/src/compositor-headless.c index 9d9f6dd3..54974550 100644 --- a/src/compositor-headless.c +++ b/src/compositor-headless.c @@ -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); diff --git a/src/compositor-rdp.c b/src/compositor-rdp.c index 8a302f85..58342b9a 100644 --- a/src/compositor-rdp.c +++ b/src/compositor-rdp.c @@ -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); |