diff options
Diffstat (limited to 'clients/window.c')
-rw-r--r-- | clients/window.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clients/window.c b/clients/window.c index 5c324d38..4dd6b36f 100644 --- a/clients/window.c +++ b/clients/window.c @@ -3867,14 +3867,14 @@ handle_surface_request_unset_fullscreen(void *data, struct xdg_surface *xdg_surf } static void -handle_surface_focused_set(void *data, struct xdg_surface *xdg_surface) +handle_surface_activated(void *data, struct xdg_surface *xdg_surface) { struct window *window = data; window->focused = 1; } static void -handle_surface_focused_unset(void *data, struct xdg_surface *xdg_surface) +handle_surface_deactivated(void *data, struct xdg_surface *xdg_surface) { struct window *window = data; window->focused = 0; @@ -3893,8 +3893,8 @@ static const struct xdg_surface_listener xdg_surface_listener = { handle_surface_request_unset_maximized, handle_surface_request_set_fullscreen, handle_surface_request_unset_fullscreen, - handle_surface_focused_set, - handle_surface_focused_unset, + handle_surface_activated, + handle_surface_deactivated, handle_surface_delete, }; |