commit 4d25523

Michael Forney  ·  2014-01-18 02:24:13 +0000 UTC
parent b7ea96a
compositor: Remove unused output code in create_surface
1 files changed,  +0, -6
+0, -6
 1@@ -678,13 +678,7 @@ static void handle_switch_vt(uint32_t time, uint32_t value, void * data)
 2 static void create_surface(struct wl_client * client,
 3                            struct wl_resource * resource, uint32_t id)
 4 {
 5-    struct swc_compositor * compositor = wl_resource_get_user_data(resource);
 6     struct swc_surface * surface;
 7-    struct swc_output * output;
 8-
 9-    printf("compositor.create_surface\n");
10-
11-    output = CONTAINER_OF(compositor->outputs.next, typeof(*output), link);
12 
13     /* Initialize surface. */
14     surface = swc_surface_new(client, wl_resource_get_version(resource), id);