summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2015-06-03 15:53:23 -0500
committerBryce Harrington <bryce@osg.samsung.com>2015-06-04 13:43:53 -0700
commit1b786eecaa5bc3ea6c4f055173641572606d0dc8 (patch)
tree861ec5aceb174990bbf87ef43c3aa44200941781 /src
parent244e99e18c56debcbe6c9a87665385cbb352bfeb (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input.c b/src/input.c
index ac019466..adc14712 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