mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-09 05:58:22 +02:00
desktop-shell: Remove no-op de-activation of the xdg top-level surface
The shsurf is calloc'ed so the surface count is always 0. Not only that but the surface is not set as active by default, so there's no need to de-activate it. Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
This commit is contained in:
parent
11bc0d0428
commit
05bef4c18a
1 changed files with 0 additions and 2 deletions
|
|
@ -2450,8 +2450,6 @@ desktop_surface_added(struct weston_desktop_surface *desktop_surface,
|
|||
wl_list_init(&shsurf->children_link);
|
||||
|
||||
weston_desktop_surface_set_user_data(desktop_surface, shsurf);
|
||||
weston_desktop_surface_set_activated(desktop_surface,
|
||||
shsurf->focus_count > 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue