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>
This commit is contained in:
Derek Foreman 2015-06-03 15:53:23 -05:00 committed by Bryce Harrington
parent 244e99e18c
commit 1b786eecaa

View File

@ -51,10 +51,10 @@ weston_seat_repick(struct weston_seat *seat)
{
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