[gnome-shell/gbsneto/custom-icon-positions: 6/7] appDisplay: Popdown folder dialog when hovering



commit b832bd2d59a5c2b2383958c070ba28ee125a7811
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed May 27 15:52:43 2020 -0300

    appDisplay: Popdown folder dialog when hovering
    
    So that you can actually select the position to drop the icon.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1284

 js/ui/appDisplay.js | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index d6c39adfe8..24f06a0c31 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -1109,6 +1109,9 @@ class AppDisplay extends BaseAppView {
         if (!this._canAccept(source))
             return DND.DragMotionResult.NO_DROP;
 
+        if (this._currentDialog)
+            this._currentDialog.popdown();
+
         return DND.DragMotionResult.MOVE_DROP;
     }
 


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