summaryrefslogtreecommitdiff
path: root/D133485.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 /D133485.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 'D133485.diff')
-rw-r--r--D133485.diff31
1 files changed, 31 insertions, 0 deletions
diff --git a/D133485.diff b/D133485.diff
new file mode 100644
index 0000000..6785c55
--- /dev/null
+++ b/D133485.diff
@@ -0,0 +1,31 @@
+diff --git a/widget/gtk/nsWindow.cpp b/widget/gtk/nsWindow.cpp
+--- a/widget/gtk/nsWindow.cpp
++++ b/widget/gtk/nsWindow.cpp
+@@ -2879,6 +2879,10 @@
+ return;
+ }
+
++ LOG(" requesting xdg-activation token, surface ID %d serial %d seat ID %d",
++ wl_proxy_get_id((struct wl_proxy*)focusSurface), focusSerial,
++ wl_proxy_get_id((struct wl_proxy*)KeymapWrapper::GetSeat()));
++
+ // Store activation token at activated window for further release.
+ g_clear_pointer(&aWindow->mXdgToken, xdg_activation_token_v1_destroy);
+ aWindow->mXdgToken = xdg_activation_v1_get_activation_token(xdg_activation);
+@@ -2941,6 +2945,7 @@
+ nsGTKToolkit* GTKToolkit = nsGTKToolkit::GetToolkit();
+ if (GTKToolkit) {
+ timestamp = GTKToolkit->GetFocusTimestamp();
++ GTKToolkit->SetFocusTimestamp(0);
+ }
+ if (!timestamp) {
+ timestamp = GetLastUserInputTime();
+@@ -2955,7 +2960,6 @@
+ RequestFocusWaylandWindow(toplevelWindow);
+ }
+ #endif
+- if (GTKToolkit) GTKToolkit->SetFocusTimestamp(0);
+ }
+ return;
+ }
+
bgstack15