Remove dead code

window->title is always NULL inside window_create_internal
This commit is contained in:
Philipp Brüschweiler
2012-07-11 15:19:23 +02:00
committed by Kristian Høgsberg
parent c234fb819f
commit c547477e27
-3
View File
@@ -2928,9 +2928,6 @@ window_create_internal(struct display *display,
window->shell_surface = window->shell_surface =
wl_shell_get_shell_surface(display->shell, wl_shell_get_shell_surface(display->shell,
window->surface); window->surface);
if (window->title)
wl_shell_surface_set_title(window->shell_surface,
window->title);
} }
window->allocation.x = 0; window->allocation.x = 0;
window->allocation.y = 0; window->allocation.y = 0;