weston/desktop-shell
Bryce Harrington 260c2ffd97 input: Rename weston_surface_activate to weston_seat_set_keyboard_focus
The name suggests that it activates surfaces, but the code says it
rather just assigns keyboard focus.  Rename it for clarity, and so the
original function name could be used for something more appropriate
later.  Switch order of parameters since keyboard focus is a property of
the seat.  Update all callers as appropriate.

Change was asked for by pq, May 26, 2016:

 "This should be called weston_seat_set_keyboard_focus(seat, surface).
 Keyboard focus is a property of the seat."

Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2016-06-30 13:15:33 +03:00
..
exposay.c Support axis source, axis discrete, frame and axis stop events 2016-01-19 12:33:26 +08:00
input-panel.c desktop-shell: Rename protocol weston_desktop_shell 2015-11-19 14:58:58 +02:00
shell.c input: Rename weston_surface_activate to weston_seat_set_keyboard_focus 2016-06-30 13:15:33 +03:00
shell.h desktop-shell: resize background and panel surfaces on output resize v4 2016-06-10 11:52:01 +03:00