Remove dead code
authorPhilipp Brüschweiler <blei42@gmail.com>
Wed, 11 Jul 2012 13:19:23 +0000 (15:19 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 11 Jul 2012 19:46:37 +0000 (15:46 -0400)
window->title is always NULL inside window_create_internal

clients/window.c

index 4bc3b0c..9f41a9c 100644 (file)
@@ -2928,9 +2928,6 @@ window_create_internal(struct display *display,
                window->shell_surface =
                        wl_shell_get_shell_surface(display->shell,
                                                   window->surface);
-               if (window->title)
-                       wl_shell_surface_set_title(window->shell_surface,
-                                                  window->title);
        }
        window->allocation.x = 0;
        window->allocation.y = 0;