[gnome-shell] appDisplay/appFolderDialog: Don't constrain to workarea



commit 62baf524afc64738d472a7c89db43c2f86d7fee6
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Mon Jan 25 13:08:56 2021 -0300

    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>

 js/ui/appDisplay.js | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 8ddd6d5f65..c891de9665 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -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', () => {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]