Add fix-lp1898462.patch to fix broken drag-and-drop (LP: #1898462)
Daniel van Vugt
3 years ago
|
0 |
gnome-shell-extension-desktop-icons (20.04.0+git20200908-4) unstable; urgency=medium
|
|
1 |
|
|
2 |
* Add fix-lp1898462.patch to fix broken drag-and-drop (LP: #1898462).
|
|
3 |
|
|
4 |
-- Daniel van Vugt <daniel.van.vugt@canonical.com> Mon, 07 Dec 2020 16:10:42 +0800
|
|
5 |
|
0 | 6 |
gnome-shell-extension-desktop-icons (20.04.0+git20200908-3) unstable; urgency=medium
|
1 | 7 |
|
2 | 8 |
* Add fix-lp1898005.patch to fix crashes in st_bin_destroy (LP: #1898005).
|
|
0 |
Description: desktopManager: Allocate the draggable actor before starting the drag
|
|
1 |
Author: Daniel van Vugt <daniel.van.vugt@canonical.com>
|
|
2 |
Origin: https://gitlab.gnome.org/World/ShellExtensions/desktop-icons/-/merge_requests/193
|
|
3 |
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1898462
|
|
4 |
Forwarded: yes
|
|
5 |
Last-Update: 2020-12-07
|
|
6 |
|
|
7 |
diff --git a/desktopManager.js b/desktopManager.js
|
|
8 |
index 7d4b562..1aad8c6 100644
|
|
9 |
--- a/desktopManager.js
|
|
10 |
+++ b/desktopManager.js
|
|
11 |
@@ -504,6 +504,10 @@ var DesktopManager = GObject.registerClass({
|
|
12 |
}
|
|
13 |
|
|
14 |
Main.layoutManager.uiGroup.add_child(this._draggableContainer);
|
|
15 |
+
|
|
16 |
+ if (this._draggableContainer.get_fixed_position !== undefined)
|
|
17 |
+ this._draggableContainer.allocate_preferred_size(0, 0);
|
|
18 |
+
|
|
19 |
this._draggable.startDrag(x, y, global.get_current_time(), event.get_event_sequence());
|
|
20 |
}
|
|
21 |
|
|
22 |
--
|
|
23 |
2.29.2
|
|
24 |
|
2 | 2 |
createFolderDialog-Port-to-use-new-shell-dialog-APIs.patch
|
3 | 3 |
metadata-Bump-dependency-on-gnome-shell-3.38.patch
|
4 | 4 |
fix-lp1898005.patch
|
|
5 |
fix-lp1898462.patch
|