]> git.mdlowis.com Git - proto/labwc.git/commitdiff
xwayland-shell: unmaximize on first map
authorJohan Malm <jgm323@gmail.com>
Fri, 9 Jul 2021 20:47:51 +0000 (21:47 +0100)
committerJohan Malm <jgm323@gmail.com>
Fri, 9 Jul 2021 20:47:51 +0000 (21:47 +0100)
...to ensure consistency with xdg-shell implementation and to avoid
padding/margin complications.

src/xwayland.c

index 90f3ba6125f373ca72e468f791aa503f259ebacd..0daf4c8d4811685ccb79976c5a03cda5b0e530d9 100644 (file)
@@ -158,6 +158,7 @@ map(struct view *view)
        }
 
        if (!view->been_mapped) {
+               view_maximize(view, false);
                view_center(view);
                view->been_mapped = true;
        }