xwayland-shell: unmaximize on first map

...to ensure consistency with xdg-shell implementation and to avoid
padding/margin complications.
This commit is contained in:
Johan Malm 2021-07-09 21:47:51 +01:00
parent 08429c5ba3
commit c6ae0b5694

View file

@ -158,6 +158,7 @@ map(struct view *view)
} }
if (!view->been_mapped) { if (!view->been_mapped) {
view_maximize(view, false);
view_center(view); view_center(view);
view->been_mapped = true; view->been_mapped = true;
} }