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>
dev
Tiago Vignatti 13 years ago committed by Kristian Høgsberg
parent c547477e27
commit cd717b5695
  1. 3
      src/compositor.c

@ -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…
Cancel
Save