On Wed, Jun 03, 2015 at 03:53:23PM -0500, Derek Foreman wrote: > Signed-off-by: Derek Foreman <[email protected]>
Reviewed-by: Jonas Ådahl <[email protected]> > --- > src/input.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/input.c b/src/input.c > index 6604c5d..c56de70 100644 > --- a/src/input.c > +++ b/src/input.c > @@ -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 > -- > 2.1.4 > > _______________________________________________ > wayland-devel mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/wayland-devel _______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
