Remove dead code

window->title is always NULL inside window_create_internal
dev
Philipp Brüschweiler 13 years ago committed by Kristian Høgsberg
parent c234fb819f
commit c547477e27
  1. 3
      clients/window.c

@ -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;

Loading…
Cancel
Save