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>
dev
Derek Foreman 10 years ago committed by Bryce Harrington
parent 244e99e18c
commit 1b786eecaa
  1. 4
      src/input.c

@ -51,10 +51,10 @@ weston_seat_repick(struct weston_seat *seat)
{ {
const struct weston_pointer *pointer = seat->pointer; const struct weston_pointer *pointer = seat->pointer;
if (pointer == NULL) if (!pointer)
return; return;
pointer->grab->interface->focus(seat->pointer->grab); pointer->grab->interface->focus(pointer->grab);
} }
static void static void

Loading…
Cancel
Save