Fix sessions with no active input devices
authorDaniel Stone <daniel@fooishbar.org>
Mon, 4 Jun 2012 10:40:47 +0000 (11:40 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 4 Jun 2012 15:02:53 +0000 (11:02 -0400)
commite9e92d2ad79da20060c4815d5257e9d7fb887bcf
treee7768953065aac7c8944a978ccfa9f8ae25b7b79
parenta497d57619db0d1f82da938c74e856fe9780eecb
Fix sessions with no active input devices

Fix a few unconditional dereferences of seat->keyboard and seat->pointer
in paths that could be hit outside of input event processing.

Reported-by: Pekka Paalanen <ppaalanen@gmail.com>
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
src/compositor.c