HiDPI: send output_enter events to views when they open

This commit is contained in:
ARDiDo 2021-11-13 12:32:01 -05:00
parent aa9720f627
commit 1d92404108
4 changed files with 45 additions and 0 deletions

View file

@ -256,6 +256,9 @@ map(struct view *view)
view->x = box.x;
view->y = box.y;
view_center(view);
struct wlr_output *wlr_output = view_wlr_output(view);
view_output_enter(view, wlr_output);
view->been_mapped = true;
}