summaryrefslogtreecommitdiff
path: root/D132929.diff
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2022-01-11 19:47:58 +0100
committerMartin Stransky <stransky@redhat.com>2022-01-11 19:47:58 +0100
commit9956bb1eafb6bf3ea0f56a3376530d423b1a1dd8 (patch)
tree8ac499c6e07cbd3a333e2837f7269e1362c8e037 /D132929.diff
parentAdded fix fox mozbz#1744896 (VSync) (diff)
downloadlibrewolf-fedora-ff-9956bb1eafb6bf3ea0f56a3376530d423b1a1dd8.tar.gz
librewolf-fedora-ff-9956bb1eafb6bf3ea0f56a3376530d423b1a1dd8.tar.bz2
librewolf-fedora-ff-9956bb1eafb6bf3ea0f56a3376530d423b1a1dd8.zip
Update to Firefox 96
Diffstat (limited to 'D132929.diff')
-rw-r--r--D132929.diff18
1 files changed, 18 insertions, 0 deletions
diff --git a/D132929.diff b/D132929.diff
new file mode 100644
index 0000000..0a61842
--- /dev/null
+++ b/D132929.diff
@@ -0,0 +1,18 @@
+diff --git a/widget/gtk/nsWindow.cpp b/widget/gtk/nsWindow.cpp
+--- a/widget/gtk/nsWindow.cpp
++++ b/widget/gtk/nsWindow.cpp
+@@ -2946,7 +2946,12 @@
+ uint32_t timestamp = GDK_CURRENT_TIME;
+
+ nsGTKToolkit* GTKToolkit = nsGTKToolkit::GetToolkit();
+- if (GTKToolkit) timestamp = GTKToolkit->GetFocusTimestamp();
++ if (GTKToolkit) {
++ timestamp = GTKToolkit->GetFocusTimestamp();
++ }
++ if (!timestamp) {
++ timestamp = GetLastUserInputTime();
++ }
+
+ LOG(" requesting toplevel activation [%p]\n", (void*)toplevelWindow);
+ gtk_window_present_with_time(GTK_WINDOW(toplevelWindow->mShell),
+
bgstack15