weston/tests
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
..
reference tests/internal-screenshot: Fix test so it doesn't expect shell surfaces 2015-05-26 11:26:06 +03:00
.gitignore Revert "gitignore: Ignore generated header test files" 2015-05-26 23:22:19 -07:00
bad-buffer-test.c Remove redundant #include path component. 2015-06-15 17:11:09 -07:00
buffer-count-test.c Remove redundant #include path component. 2015-06-15 17:11:09 -07:00
button-test.c tests: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:19 -07:00
config-parser-test.c zunitc: made name of test fixture parameter explicit. 2015-10-23 14:57:09 -07:00
devices-test.c devices-test: Fix typo 'destroyes' in a comment 2015-10-20 08:35:43 -07:00
event-test.c tests: event-test to use create_shm_buffer_a8r8g8b8() 2016-06-29 12:39:30 +03:00
internal-screenshot-test.c tests: implement visualize_image_difference() 2016-06-29 12:41:31 +03:00
internal-screenshot.ini tests: Add internal test for the weston test screenshot capability 2015-05-21 15:06:11 -07:00
ivi-shell-app-test.c tests: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:19 -07:00
ivi-test.h ivi-shell: implement surface_on_many_layer test 2016-06-29 11:32:23 +03:00
ivi_layout-internal-test.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
ivi_layout-test-plugin.c ivi-shell: implement surface_on_many_layer test 2016-06-29 11:32:23 +03:00
ivi_layout-test.c tests: ivi_layout-test to use create_shm_buffer_a8r8g8b8() 2016-06-29 12:41:31 +03:00
keyboard-test.c Coding style fixes 2015-08-07 12:01:22 -07:00
matrix-test.c Remove redundant #include path component. 2015-06-15 17:11:09 -07:00
presentation-test.c tests: introduce struct buffer for client-helper 2016-06-29 12:39:30 +03:00
roles-test.c tests: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:19 -07:00
setbacklight.c tests: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:19 -07:00
subsurface-test.c tests: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:19 -07:00
surface-global-test.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
surface-screenshot.c input: Don't test keyboard/pointer/touch pointers 2015-07-31 15:16:09 -07:00
surface-test.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
text-test.c Use text input protocol from wayland-protocols 2015-11-19 13:07:10 +02:00
vertex-clip-test.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
viewporter-test.c tests: introduce struct buffer for client-helper 2016-06-29 12:39:30 +03:00
weston-test-client-helper.c tests: implement visualize_image_difference() 2016-06-29 12:41:31 +03:00
weston-test-client-helper.h tests: implement visualize_image_difference() 2016-06-29 12:41:31 +03:00
weston-test-runner.c tests: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:19 -07:00
weston-test-runner.h Moved helper macro to a discrete include file. 2015-06-15 17:11:45 -07:00
weston-test.c input: Rename weston_surface_activate to weston_seat_set_keyboard_focus 2016-06-30 13:15:33 +03:00
weston-tests-env tests: print the command line to log 2016-06-23 18:15:43 +03:00
xwayland-test.c tests: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:19 -07:00