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>
This commit is contained in:
parent
244e99e18c
commit
1b786eecaa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user