summaryrefslogtreecommitdiff
path: root/mozilla-1576268.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2019-09-02 17:03:30 +0200
committerMartin Stransky <stransky@redhat.com>2019-09-02 17:03:30 +0200
commit20c032f2ed576eac3d30b4ac8851d13921e6cf77 (patch)
tree951702feca76e43fccba06e8cefc7f1230841744 /mozilla-1576268.patch
parentMerge branch 'master' into f30 (diff)
downloadlibrewolf-fedora-ff-20c032f2ed576eac3d30b4ac8851d13921e6cf77.tar.gz
librewolf-fedora-ff-20c032f2ed576eac3d30b4ac8851d13921e6cf77.tar.bz2
librewolf-fedora-ff-20c032f2ed576eac3d30b4ac8851d13921e6cf77.zip
Added upstream Wayland patches (mozilla-1548475, mozilla-1562827,
mozilla-1567434, mozilla-1573813, mozilla-1574036, mozilla-1576268). - Enable multiprocess compilation.
Diffstat (limited to 'mozilla-1576268.patch')
-rw-r--r--mozilla-1576268.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/mozilla-1576268.patch b/mozilla-1576268.patch
new file mode 100644
index 0000000..85fd1a8
--- /dev/null
+++ b/mozilla-1576268.patch
@@ -0,0 +1,17 @@
+diff --git a/widget/gtk/nsClipboardWayland.cpp b/widget/gtk/nsClipboardWayland.cpp
+--- a/widget/gtk/nsClipboardWayland.cpp
++++ b/widget/gtk/nsClipboardWayland.cpp
+@@ -195,6 +195,12 @@
+ uint32_t all_actions = WL_DATA_DEVICE_MANAGER_DND_ACTION_COPY |
+ WL_DATA_DEVICE_MANAGER_DND_ACTION_MOVE;
+
++ /* Default to move D&D action (Bug 1576268).
++ */
++ if (dnd_actions == 0) {
++ all_actions = WL_DATA_DEVICE_MANAGER_DND_ACTION_MOVE;
++ }
++
+ wl_data_offer_set_actions(mWaylandDataOffer, all_actions, dnd_actions);
+
+ /* Workaround Wayland D&D architecture here. To get the data_device_drop()
+
bgstack15