HiDPI: send enter and leave events to views when switching monitors

This commit is contained in:
ARDiDo 2021-11-15 14:59:03 -05:00
parent 1d92404108
commit 6698ca7300
4 changed files with 29 additions and 10 deletions

View file

@ -257,8 +257,7 @@ map(struct view *view)
view->y = box.y;
view_center(view);
struct wlr_output *wlr_output = view_wlr_output(view);
view_output_enter(view, wlr_output);
view_discover_output(view);
view->been_mapped = true;
}