weston/src
Derek Foreman 30ce607682 input: Check device counts in bind_seat()
We shouldn't be using seat->pointer|keyboard|touch here, we should be
testing *_device_count to see if a device is currently present.

Testing the pointers directly will result in incorrectly advertising
capabilities after all devices of a type have been removed.

Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
2015-07-31 15:15:46 -07:00
..
animation.c Unified multiple definitions of container_of() macro. 2015-06-15 17:11:58 -07:00
bindings.c bindings: Make run binding functions take apropriate device instead of a seat 2015-07-16 19:04:40 -07:00
clipboard.c Unified multiple definitions of container_of() macro. 2015-06-15 17:11:58 -07:00
cms-colord.c cms-colord: Fix crash at compositor shutdown. (v2) 2015-07-23 12:28:50 -07:00
cms-helper.c src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:18 -07:00
cms-helper.h src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:18 -07:00
cms-static.c cms-helper/static: Add "identity" builtin cms profile (v3) 2015-07-23 12:29:49 -07:00
compositor-drm.c input: Also pass appropriate pointer type when libva unavailable 2015-07-16 19:12:26 -07:00
compositor-fbdev.c input: Pass the appropriate pointer type to bindings instead of a seat 2015-07-16 19:03:43 -07:00
compositor-headless.c compositor: add API to manage compositor instances 2015-07-10 11:59:08 +03:00
compositor-rdp.c Fix crash when using RDP4 security 2015-07-23 18:32:23 -07:00
compositor-rpi.c input: Pass the appropriate pointer type to bindings instead of a seat 2015-07-16 19:03:43 -07:00
compositor-wayland.c input: Pass the appropriate pointer type to bindings instead of a seat 2015-07-16 19:03:43 -07:00
compositor-x11.c compositor: add API to manage compositor instances 2015-07-10 11:59:08 +03:00
compositor.c compositor: Respect WESTON_BUILD_DIR env var in weston_load_module 2015-07-17 19:19:46 -07:00
compositor.h zoom: Store the seat that initiated a zoom 2015-07-29 19:54:17 -07:00
data-device.c Unified multiple definitions of container_of() macro. 2015-06-15 17:11:58 -07:00
dbus.c src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:18 -07:00
dbus.h src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:18 -07:00
gl-renderer.c input: Pass the appropriate pointer type to bindings instead of a seat 2015-07-16 19:03:43 -07:00
gl-renderer.h src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:18 -07:00
input.c input: Check device counts in bind_seat() 2015-07-31 15:15:46 -07:00
launcher-util.c src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:18 -07:00
launcher-util.h src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:18 -07:00
libbacklight.c Whitespace corrections 2015-06-06 12:39:51 -07:00
libbacklight.h libbacklight: Add missing boilerplate to header 2015-06-15 13:04:18 -07:00
libinput-device.c Unified multiple definitions of container_of() macro. 2015-06-15 17:11:58 -07:00
libinput-device.h src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:18 -07:00
libinput-seat.c input: make a function for device removal 2015-07-17 17:51:00 -07:00
libinput-seat.h src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:18 -07:00
log.c log: Open log file CLOEXEC so child processes don't get the fd 2015-07-16 19:28:36 -07:00
logind-util.c logind-util: Use %u for unsigned int in snprintf 2015-07-17 14:35:50 -07:00
logind-util.h src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:18 -07:00
main.c main: update RDP backend help message 2015-07-31 12:49:35 -07:00
noop-renderer.c src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:18 -07:00
pixman-renderer.c input: Pass the appropriate pointer type to bindings instead of a seat 2015-07-16 19:03:43 -07:00
pixman-renderer.h src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:18 -07:00
rpi-bcm-stubs.h rpi: Support opaque regions 2013-12-02 11:36:29 -08:00
rpi-renderer.c Unified multiple definitions of container_of() macro. 2015-06-15 17:11:58 -07:00
rpi-renderer.h src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:18 -07:00
screen-share.c screen-share: Use the correct list pointer when freeing shm buffers 2015-07-13 12:47:45 -07:00
screenshooter.c input: Pass the appropriate pointer type to bindings instead of a seat 2015-07-16 19:03:43 -07:00
spring-tool.c src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:18 -07:00
text-backend.c text-backend: Replace focus_listener_initialized with a bool 2015-07-16 19:03:19 -07:00
timeline-object.h src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:18 -07:00
timeline.c src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:18 -07:00
timeline.h src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:18 -07:00
vaapi-recorder.c vaapi-recorder: Drop redundant license 2015-06-15 13:04:19 -07:00
vaapi-recorder.h src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:18 -07:00
version.h.in src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:18 -07:00
vertex-clipping.c src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:18 -07:00
vertex-clipping.h src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:18 -07:00
weston-egl-ext.h weston-egl-ext.h: Reformat license text 2015-06-15 13:04:19 -07:00
weston-launch.c weston-launch: Drop redundant exit() 2015-07-10 00:08:58 -07:00
weston-launch.h src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:18 -07:00
weston.desktop build: install a login manager session entry 2015-01-20 19:44:58 -08:00
weston.pc.in weston.pc: Added libexecdir and pkglibexecdir variables 2013-06-04 00:14:04 -04:00
zoom.c zoom: Store the seat that initiated a zoom 2015-07-29 19:54:17 -07:00