input: check if the resource is valid in seat_get_pointer
authorGiulio Camuffo <giuliocamuffo@gmail.com>
Sun, 7 Jul 2013 15:38:50 +0000 (17:38 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 8 Jul 2013 17:22:08 +0000 (13:22 -0400)
commit708b8af01845df02e23901e0762e6eca16ca12ce
treee4a91a1cff868f1525608cefed7e31277339595f
parentc077a8435d4c8d9bdd55f458135f12b948cc93cc
input: check if the resource is valid in seat_get_pointer

seat->pointer->focus->resource can be NULL, if the surface was
created with weston_surface_create.
src/input.c