compositor: remove useless weston_compositor_repick call
compositor->focus was just unset, and weston_compositor_repick() has no effect. Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
This commit is contained in:
committed by
Kristian Høgsberg
parent
c547477e27
commit
cd717b5695
+2
-1
@@ -1975,7 +1975,8 @@ notify_pointer_focus(struct wl_seat *seat, struct weston_output *output,
|
|||||||
weston_compositor_repick(compositor);
|
weston_compositor_repick(compositor);
|
||||||
} else {
|
} else {
|
||||||
compositor->focus = 0;
|
compositor->focus = 0;
|
||||||
weston_compositor_repick(compositor);
|
/* FIXME: We should call wl_pointer_set_focus(seat,
|
||||||
|
* NULL) here, but somehow that breaks re-entry... */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user