This commit is contained in:
cryzed 2021-02-16 02:35:13 +01:00
parent 12024b9a5d
commit 06c1a5908c
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ XWindowsScreen::leave()
m_impl->XGetInputFocus(m_display, &m_lastFocus, &m_lastFocusRevert);
// take focus
if (m_isPrimary || !m_preserveFocus) {
if (!m_preserveFocus) {
m_impl->XSetInputFocus(m_display, m_window, RevertToPointerRoot, CurrentTime);
}