From 94778c0dac6b5616fd21c3617e12e49d9db4a243 Mon Sep 17 00:00:00 2001 From: Adel Gadllah Date: Sat, 23 Mar 2013 10:51:43 +0100 Subject: [PATCH] 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 file changed, 2 insertions(+) diff --git a/js/ui/layout.js b/js/ui/layout.js index 8d5ab1276..e8f46c1cb 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; },