diff options
author | Martin Stransky <stransky@redhat.com> | 2022-01-11 19:47:58 +0100 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2022-01-11 19:47:58 +0100 |
commit | 9956bb1eafb6bf3ea0f56a3376530d423b1a1dd8 (patch) | |
tree | 8ac499c6e07cbd3a333e2837f7269e1362c8e037 /D132929.diff | |
parent | Added fix fox mozbz#1744896 (VSync) (diff) | |
download | librewolf-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.diff | 18 |
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), + |