[gnome-shell] layout: Adjust the pressure barrier threshold values



commit 476eacd5ca1167e70ca536d9a533c381573cd786
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Feb 21 16:43:28 2013 -0500

    layout: Adjust the pressure barrier threshold values
    
    After a day of experimentation with Cosimo and Jon McCann, we
    found that this was the best way to do this.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=694467

 js/ui/layout.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/layout.js b/js/ui/layout.js
index 56519b4..ad0ed42 100644
--- a/js/ui/layout.js
+++ b/js/ui/layout.js
@@ -25,8 +25,8 @@ const DEFAULT_BACKGROUND_COLOR = Clutter.Color.from_pixel(0x2e3436ff);
 
 // The message tray takes this much pressure
 // in the pressure barrier at once to release it.
-const MESSAGE_TRAY_PRESSURE_THRESHOLD = 200; // pixels
-const MESSAGE_TRAY_PRESSURE_TIMEOUT = 3000; // ms
+const MESSAGE_TRAY_PRESSURE_THRESHOLD = 250; // pixels
+const MESSAGE_TRAY_PRESSURE_TIMEOUT = 1000; // ms
 
 function isPopupMetaWindow(actor) {
     switch(actor.meta_window.get_window_type()) {


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