summaryrefslogtreecommitdiff
path: root/firefox-init-wayland-clipboard.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2018-11-14 11:07:39 +0100
committerMartin Stransky <stransky@redhat.com>2018-11-14 11:07:39 +0100
commit9545f8f63bb03581fa385ef9e173c537e2c3cb01 (patch)
tree17da326ae85665e8bdf02172e69e2d29dc82aa30 /firefox-init-wayland-clipboard.patch
parentMerge branch 'master' into f28 (diff)
parentFixed debug builds, Fixed warnings at Wayland clipboard code (diff)
downloadlibrewolf-fedora-ff-9545f8f63bb03581fa385ef9e173c537e2c3cb01.tar.gz
librewolf-fedora-ff-9545f8f63bb03581fa385ef9e173c537e2c3cb01.tar.bz2
librewolf-fedora-ff-9545f8f63bb03581fa385ef9e173c537e2c3cb01.zip
Merge branch 'master' into f28
Diffstat (limited to 'firefox-init-wayland-clipboard.patch')
-rw-r--r--firefox-init-wayland-clipboard.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/firefox-init-wayland-clipboard.patch b/firefox-init-wayland-clipboard.patch
new file mode 100644
index 0000000..91bdbe5
--- /dev/null
+++ b/firefox-init-wayland-clipboard.patch
@@ -0,0 +1,12 @@
+diff -up firefox-63.0.1/widget/gtk/nsClipboardWayland.cpp.old firefox-63.0.1/widget/gtk/nsClipboardWayland.cpp
+--- firefox-63.0.1/widget/gtk/nsClipboardWayland.cpp.old 2018-11-14 10:26:47.602412372 +0100
++++ firefox-63.0.1/widget/gtk/nsClipboardWayland.cpp 2018-11-14 10:27:27.847245617 +0100
+@@ -153,7 +153,7 @@ DataOffer::GetData(wl_display* aDisplay,
+
+ GIOChannel *channel = g_io_channel_unix_new(pipe_fd[0]);
+ GError* error = nullptr;
+- char* clipboardData;
++ char* clipboardData = nullptr;
+
+ g_io_channel_set_encoding(channel, nullptr, &error);
+ if (!error) {
bgstack15