diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2021-03-05 22:07:30 +0200 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2021-11-02 19:04:33 +0200 |
commit | d6ccc8b025c94bb379c86290a146b17e0879fed4 (patch) | |
tree | a5bc19726c26682a046fe2f9622808a6bf3513db /kiosk-shell | |
parent | f3584cf995fbd754ebd80ec47b2cc31812e455b7 (diff) | |
download | weston-d6ccc8b025c94bb379c86290a146b17e0879fed4.tar.gz |
libweston: Rename weston_view_activate() to weston_view_activate_input()
This way, we try to differentiate between input focus and window/surface
activation.
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Diffstat (limited to 'kiosk-shell')
-rw-r--r-- | kiosk-shell/kiosk-shell.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kiosk-shell/kiosk-shell.c b/kiosk-shell/kiosk-shell.c index cee7067d..cfa0a95f 100644 --- a/kiosk-shell/kiosk-shell.c +++ b/kiosk-shell/kiosk-shell.c @@ -664,7 +664,7 @@ desktop_surface_removed(struct weston_desktop_surface *desktop_surface, wl_list_for_each(seat, &shell->compositor->seat_list, link) { struct weston_keyboard *keyboard = seat->keyboard_state; if (keyboard && keyboard->focus == surface) - weston_view_activate(focus_view, seat, 0); + weston_view_activate_input(focus_view, seat, 0); } } @@ -719,7 +719,7 @@ desktop_surface_committed(struct weston_desktop_surface *desktop_surface, surface->is_mapped = true; wl_list_for_each(seat, &shsurf->shell->compositor->seat_list, link) - weston_view_activate(shsurf->view, seat, 0); + weston_view_activate_input(shsurf->view, seat, 0); } if (!is_fullscreen && (sx != 0 || sy != 0)) { @@ -927,7 +927,7 @@ kiosk_shell_activate_view(struct kiosk_shell *shell, weston_surface_damage(view->surface); } - weston_view_activate(view, seat, flags); + weston_view_activate_input(view, seat, flags); } static void |