Commit 1b786eec authored by Derek Foreman's avatar Derek Foreman Committed by Bryce Harrington

input: minor clean up in weston_seat_repick()

Signed-off-by: default avatarDerek Foreman <derekf@osg.samsung.com>
Reviewed-by: default avatarBryce Harrington <bryce@osg.samsung.com>
parent 244e99e1
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment