input: minor clean up in weston_seat_repick()
Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
diff --git a/src/input.c b/src/input.c
index ac01946..adc1471 100644
--- a/src/input.c
+++ b/src/input.c
@@ -51,10 +51,10 @@
{
const struct weston_pointer *pointer = seat->pointer;
- if (pointer == NULL)
+ if (!pointer)
return;
- pointer->grab->interface->focus(seat->pointer->grab);
+ pointer->grab->interface->focus(pointer->grab);
}
static void