diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-08-20 18:00:50 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-08-20 18:00:50 +0200 |
| commit | 0ebef9a8ae1753e2eb8c87ccb4ab25c28ed87e1c (patch) | |
| tree | 4f13fe81a70701ff625fd471b260619d03161745 /src/events/Windows.cpp | |
| parent | 185f93ae64d2fe616d06ba1b9919cf1e98168bd6 (diff) | |
no focus to OR Xwayland
Diffstat (limited to 'src/events/Windows.cpp')
| -rw-r--r-- | src/events/Windows.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp index 660b08a2..f9cb8fc4 100644 --- a/src/events/Windows.cpp +++ b/src/events/Windows.cpp @@ -85,6 +85,8 @@ void Events::listener_mapWindow(void* owner, void* data) { PWINDOW->m_bRequestsFloat = true; } + PWINDOW->m_bX11ShouldntFocus = PWINDOW->m_bX11ShouldntFocus || (PWINDOW->m_bIsX11 && PWINDOW->m_iX11Type == 2); + if (PWORKSPACE->m_bDefaultFloating) PWINDOW->m_bIsFloating = true; |
