finally fixed XWayland popups
This commit is contained in:
parent
e6a848adc0
commit
2bc29f32ec
7 changed files with 33 additions and 6 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue