diff options
author | Martin Stransky <stransky@redhat.com> | 2022-02-08 12:42:36 +0100 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2022-02-08 12:42:36 +0100 |
commit | 16e6b6b266d702b31b982c136a365f5f92c9cc1b (patch) | |
tree | d24508c37db4d12e4232ccbeb22ba4ee166bf6cf /D133885.diff | |
parent | Updated to 93.0.3 (diff) | |
download | librewolf-fedora-ff-16e6b6b266d702b31b982c136a365f5f92c9cc1b.tar.gz librewolf-fedora-ff-16e6b6b266d702b31b982c136a365f5f92c9cc1b.tar.bz2 librewolf-fedora-ff-16e6b6b266d702b31b982c136a365f5f92c9cc1b.zip |
-m
Diffstat (limited to 'D133885.diff')
-rw-r--r-- | D133885.diff | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/D133885.diff b/D133885.diff deleted file mode 100644 index 246fc2a..0000000 --- a/D133885.diff +++ /dev/null @@ -1,33 +0,0 @@ -diff --git a/widget/gtk/nsWindow.cpp b/widget/gtk/nsWindow.cpp ---- a/widget/gtk/nsWindow.cpp -+++ b/widget/gtk/nsWindow.cpp -@@ -2868,7 +2868,7 @@ - LOGW("nsWindow::RequestFocusWaylandWindow(%p) gFocusWindow %p", - (void*)aWindow, gFocusWindow); - -- if (!gFocusWindow) { -+ if (!gFocusWindow || gFocusWindow->IsDestroyed()) { - LOGW(" missing gFocusWindow, quit."); - } - -@@ -2883,13 +2883,16 @@ - uint32_t focusSerial; - KeymapWrapper::GetFocusInfo(&focusSurface, &focusSerial); - if (!focusSurface) { -- LOGW(" We're missing focused window, quit."); -+ LOGW(" We're missing KeymapWrapper focused window, quit."); - return; - } - - GdkWindow* gdkWindow = gtk_widget_get_window(gFocusWindow->mShell); -- wl_surface* surface = -- gdkWindow ? gdk_wayland_window_get_wl_surface(gdkWindow) : nullptr; -+ if (!gdkWindow) { -+ LOGW(" gFocusWindow is not mapped, quit."); -+ return; -+ } -+ wl_surface* surface = gdk_wayland_window_get_wl_surface(gdkWindow); - if (focusSurface != surface) { - LOGW(" focused surface %p and gFocusWindow surface %p don't match, quit.", - focusSurface, surface); - |