[PATCH weston 04/19] input: minor clean up in weston_seat_repick()
Derek Foreman
derekf at osg.samsung.com
Wed Jun 3 13:53:23 PDT 2015
Signed-off-by: Derek Foreman <derekf at osg.samsung.com>
---
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
More information about the wayland-devel
mailing list