Remove dead code
window->title is always NULL inside window_create_internal
This commit is contained in:
committed by
Kristian Høgsberg
parent
c234fb819f
commit
c547477e27
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user