[gnome-shell] Tweak sizing of windows in overview



commit 354112fb415ca174c99b59d5eb76e4c8006ee5ee
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Thu Aug 6 15:14:57 2009 -0400

    Tweak sizing of windows in overview
    
    Tweak arrangements with 2,3,4,5 windows in a desktop so:
    
     - Windows are a bit bigger
     - All windows for 5 windows are equally sized instead of making
       the windows in the bottom row larger
    
    This does cause some more problems with tall windows overlapping
    or running off the edge of the workspace, but it's an overall
    small improvement to the behavior.

 js/ui/workspaces.js |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/js/ui/workspaces.js b/js/ui/workspaces.js
index 7da0e40..2325b5a 100644
--- a/js/ui/workspaces.js
+++ b/js/ui/workspaces.js
@@ -36,10 +36,10 @@ FRAME_COLOR.from_pixel(0xffffffff);
 // is relative to the width of the workspace.
 const POSITIONS = {
         1: [[0.5, 0.5, 0.8]],
-        2: [[0.25, 0.5, 0.4], [0.75, 0.5, 0.4]],
-        3: [[0.25, 0.25, 0.33],  [0.75, 0.25, 0.33],  [0.5, 0.75, 0.33]],
-        4: [[0.25, 0.25, 0.33],   [0.75, 0.25, 0.33], [0.75, 0.75, 0.33], [0.25, 0.75, 0.33]],
-        5: [[0.165, 0.25, 0.28], [0.495, 0.25, 0.28], [0.825, 0.25, 0.28], [0.25, 0.75, 0.4], [0.75, 0.75, 0.4]]
+        2: [[0.25, 0.5, 0.45], [0.75, 0.5, 0.45]],
+        3: [[0.25, 0.25, 0.45],  [0.75, 0.25, 0.45],  [0.5, 0.75, 0.45]],
+        4: [[0.25, 0.25, 0.45],   [0.75, 0.25, 0.45], [0.75, 0.75, 0.45], [0.25, 0.75, 0.45]],
+        5: [[0.165, 0.25, 0.30], [0.495, 0.25, 0.30], [0.825, 0.25, 0.30], [0.25, 0.75, 0.30], [0.75, 0.75, 0.30]]
 };
 
 // Spacing between workspaces. At the moment, the same spacing is used



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