Clients: Don't set the cursor when we have no pointer
authorDaniel Stone <daniel@fooishbar.org>
Wed, 7 Nov 2012 06:51:39 +0000 (17:51 +1100)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 8 Nov 2012 16:31:37 +0000 (11:31 -0500)
commit8097274ce65a607530307921f9766dfe210acd66
tree483fea1922d3e449d606ace463387b778972fa90
parent0f7a285fe187aea405dc5e6f6268a79bdf9d1627
Clients: Don't set the cursor when we have no pointer

Avoids a segfault whenever we get a key event, and try to set the
cursor, dereferencing a NULL input->pointer.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
clients/window.c