diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-22 21:28:57 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-22 21:28:57 +0100 |
| commit | 2bc29f32ec087f8577ff1fd6bb031ea47b133057 (patch) | |
| tree | c8e28248bd97fed18669c5d86b9a3f9cc5b15afd /src/Compositor.cpp | |
| parent | e6a848adc0648bed29bb232ca5ee421ac6f575f9 (diff) | |
finally fixed XWayland popups
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index e747e597..953ae1c8 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -321,7 +321,7 @@ void CCompositor::focusSurface(wlr_surface* pSurface) { return; // Don't focus when already focused on this. // Unfocus last surface - if (m_pLastFocus) + if (m_pLastFocus && !wlr_surface_is_xwayland_surface(m_pLastFocus)) g_pXWaylandManager->activateSurface(m_pLastFocus, false); const auto KEYBOARD = wlr_seat_get_keyboard(m_sSeat.seat); |
