summaryrefslogtreecommitdiff
path: root/mozilla-1434202.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2018-01-30 14:11:53 +0100
committerMartin Stransky <stransky@redhat.com>2018-01-30 14:11:53 +0100
commita16c5a063b1e480656c635788664e6995e9c5c1a (patch)
tree6c18ece7eec49530b7fa7c1de4b91430bde325bf /mozilla-1434202.patch
parentFixed typo at startup script, removed unused patches (diff)
downloadlibrewolf-fedora-ff-a16c5a063b1e480656c635788664e6995e9c5c1a.tar.gz
librewolf-fedora-ff-a16c5a063b1e480656c635788664e6995e9c5c1a.tar.bz2
librewolf-fedora-ff-a16c5a063b1e480656c635788664e6995e9c5c1a.zip
Added Wayland specific patches mozbz#1431052 mozbz#1432414 mozbz#1434202
Diffstat (limited to 'mozilla-1434202.patch')
-rw-r--r--mozilla-1434202.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/mozilla-1434202.patch b/mozilla-1434202.patch
new file mode 100644
index 0000000..d91f55e
--- /dev/null
+++ b/mozilla-1434202.patch
@@ -0,0 +1,25 @@
+diff --git a/widget/gtk/nsWindow.cpp b/widget/gtk/nsWindow.cpp
+--- a/widget/gtk/nsWindow.cpp
++++ b/widget/gtk/nsWindow.cpp
+@@ -3785,16 +3785,20 @@ nsWindow::Create(nsIWidget* aParent,
+ SetCursor(eCursor_standard);
+
+ if (aInitData->mNoAutoHide) {
+ gint wmd = ConvertBorderStyles(mBorderStyle);
+ if (wmd != -1)
+ gdk_window_set_decorations(mGdkWindow, (GdkWMDecoration) wmd);
+ }
+
++ if (!mIsX11Display) {
++ gtk_widget_set_app_paintable(mShell, TRUE);
++ }
++
+ // If the popup ignores mouse events, set an empty input shape.
+ if (aInitData->mMouseTransparent) {
+ cairo_rectangle_int_t rect = { 0, 0, 0, 0 };
+ cairo_region_t *region = cairo_region_create_rectangle(&rect);
+
+ gdk_window_input_shape_combine_region(mGdkWindow, region, 0, 0);
+ cairo_region_destroy(region);
+ }
+
bgstack15