[gnome-shell] layout: Fix opening the overview for xdnd



commit 94778c0dac6b5616fd21c3617e12e49d9db4a243
Author: Adel Gadllah <adel gadllah gmail com>
Date:   Sat Mar 23 10:51:43 2013 +0100

    layout: Fix opening the overview for xdnd
    
    In the (no barriers) fallback case handleDragOver has somehow
    ended up being turned into a nop and thus breaking xdnd
    overview opening.
    
    Fix that by calling _toggleOverview() when a xdnd source triggers
    it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=696447

 js/ui/layout.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/layout.js b/js/ui/layout.js
index 8d5ab12..e8f46c1 100644
--- a/js/ui/layout.js
+++ b/js/ui/layout.js
@@ -1200,6 +1200,8 @@ const HotCorner = new Lang.Class({
         if (source != Main.xdndHandler)
             return DND.DragMotionResult.CONTINUE;
 
+        this._toggleOverview();
+
         return DND.DragMotionResult.CONTINUE;
     },
 


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