appDisplay/appFolderDialog: Don't constrain to workarea

With the transparent top bar in the overview, constraining to the
primary monitor's workarea causes the (now visible) area beneath
the top bar to not have the darker background, which causes a visual
discontinuity in the layout.

Don't constrain to the primary monitor workarea.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1590>
This commit is contained in:
Georges Basile Stavracas Neto 2021-01-25 13:08:56 -03:00
parent bbb2f2603a
commit 62baf524af

View File

@ -2153,10 +2153,7 @@ var AppFolderDialog = GObject.registerClass({
reactive: true,
});
this.add_constraint(new Layout.MonitorConstraint({
primary: true,
work_area: true,
}));
this.add_constraint(new Layout.MonitorConstraint({ primary: true }));
const clickAction = new Clutter.ClickAction();
clickAction.connect('clicked', () => {