[gnome-shell] Fix DND to left side of the screen



commit 732573331af2f829462237d84826f7e28e059546
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Tue Jul 7 10:51:56 2009 +0100

    Fix DND to left side of the screen
    
    Set the size of the Dash actor to 0x0 so that it doesn't
    interfere with drag and drop.
    
    http://bugzilla.gnome.org/show_bug.cgi?id=587899

 js/ui/overlay.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/overlay.js b/js/ui/overlay.js
index 719f666..999dd05 100644
--- a/js/ui/overlay.js
+++ b/js/ui/overlay.js
@@ -232,7 +232,8 @@ Dash.prototype = {
         let resultsHeight = global.screen_height - Panel.PANEL_HEIGHT - DASH_SECTION_PADDING - bottomHeight;
         let detailsHeight = global.screen_height - Panel.PANEL_HEIGHT - DASH_SECTION_PADDING - bottomHeight;
 
-        this.actor = new Clutter.Group({});
+        // Size the actor to 0x0 so as not to interfere with DND
+        this.actor = new Clutter.Group({ width: 0, height: 0 });
         this.actor.height = global.screen_height;
 
 



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