mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-09 05:58:22 +02:00
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:
parent
c547477e27
commit
cd717b5695
1 changed files with 2 additions and 1 deletions
|
|
@ -1975,7 +1975,8 @@ notify_pointer_focus(struct wl_seat *seat, struct weston_output *output,
|
|||
weston_compositor_repick(compositor);
|
||||
} else {
|
||||
compositor->focus = 0;
|
||||
weston_compositor_repick(compositor);
|
||||
/* FIXME: We should call wl_pointer_set_focus(seat,
|
||||
* NULL) here, but somehow that breaks re-entry... */
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue