CSD: Fix no fullscreen at startup in some applications without ssd

This commit is contained in:
ARDiDo 2022-01-29 10:44:15 -05:00
parent 3658c2bfb3
commit e2cca1f040
2 changed files with 12 additions and 0 deletions

View file

@ -255,6 +255,9 @@ static void
map(struct view *view)
{
view->mapped = true;
if (!view->fullscreen && view->xwayland_surface->fullscreen) {
view_set_fullscreen(view, true, NULL);
}
if (!view->maximized && !view->fullscreen) {
view->x = view->xwayland_surface->x;
view->y = view->xwayland_surface->y;