summaryrefslogtreecommitdiff
path: root/www/librewolf/files/patch-widget_gtk_nsMenuBar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'www/librewolf/files/patch-widget_gtk_nsMenuBar.cpp')
-rw-r--r--www/librewolf/files/patch-widget_gtk_nsMenuBar.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/librewolf/files/patch-widget_gtk_nsMenuBar.cpp b/www/librewolf/files/patch-widget_gtk_nsMenuBar.cpp
new file mode 100644
index 000000000000..dfa5ea927c77
--- /dev/null
+++ b/www/librewolf/files/patch-widget_gtk_nsMenuBar.cpp
@@ -0,0 +1,11 @@
+--- widget/gtk/nsMenuBar.cpp.orig 2023-10-06 21:47:06.056933000 +0200
++++ widget/gtk/nsMenuBar.cpp 2023-10-06 21:44:31.623574000 +0200
+@@ -190,7 +190,7 @@
+
+ mEventListener = new DocEventListener(this);
+
+- mDocument = do_QueryInterface(ContentNode()->OwnerDoc());
++ mDocument = ContentNode()->OwnerDoc();
+
+ mAccessKey = Preferences::GetInt("ui.key.menuAccessKey");
+ if (mAccessKey == dom::KeyboardEvent_Binding::DOM_VK_SHIFT) {