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:
committed by
Bryce Harrington
parent
244e99e18c
commit
1b786eecaa
+2
-2
@@ -51,10 +51,10 @@ weston_seat_repick(struct weston_seat *seat)
|
|||||||
{
|
{
|
||||||
const struct weston_pointer *pointer = seat->pointer;
|
const struct weston_pointer *pointer = seat->pointer;
|
||||||
|
|
||||||
if (pointer == NULL)
|
if (!pointer)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
pointer->grab->interface->focus(seat->pointer->grab);
|
pointer->grab->interface->focus(pointer->grab);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user