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



commit f874c4c8f8644bcfab067a49fcd27ccd84246155
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 d7d3bb6747..dc4df5d43a 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]