From 9956bb1eafb6bf3ea0f56a3376530d423b1a1dd8 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Tue, 11 Jan 2022 19:47:58 +0100 Subject: Update to Firefox 96 --- D133485.diff | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 D133485.diff (limited to 'D133485.diff') 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; + } + -- cgit