diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2014-02-08 18:11:53 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2014-02-18 16:39:01 -0800 |
commit | b223a721478504bc67625606e1efbe1718fe3325 (patch) | |
tree | 3a45429f49fe2a4303f5cca44b85eb2ac12cb50e /clients/window.c | |
parent | a0d8a309317d1bebf1e2c1cee4b08af226871009 (diff) | |
download | weston-b223a721478504bc67625606e1efbe1718fe3325.tar.gz |
xdg-shell: Rename focused_set / focused_unset to activated / deactivated
To try and make the distinction between this event and keyboard focus.
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, }; |