diff options
| author | MightyPlaza <123664421+MightyPlaza@users.noreply.github.com> | 2024-02-04 15:40:20 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-04 15:40:20 +0000 |
| commit | cbadf3e3f31ab5ad5d192daac5f2ca930d08b8fb (patch) | |
| tree | 40fe310e5ffb955a19b32a2c8d234b3bdf9e45cb /src/helpers/Monitor.cpp | |
| parent | 1ed4f1cb254ce4b4e55727d972998be1ef4baf22 (diff) | |
input: focus window on mouse down on decoration (#4514)
Also unifies vectorToWindow funcs
Diffstat (limited to 'src/helpers/Monitor.cpp')
| -rw-r--r-- | src/helpers/Monitor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/Monitor.cpp b/src/helpers/Monitor.cpp index f9cc5472..f084d3c0 100644 --- a/src/helpers/Monitor.cpp +++ b/src/helpers/Monitor.cpp @@ -541,7 +541,7 @@ void CMonitor::changeWorkspace(CWorkspace* const pWorkspace, bool internal, bool if (!pWindow) { if (*PFOLLOWMOUSE == 1) - pWindow = g_pCompositor->vectorToWindowIdeal(g_pInputManager->getMouseCoordsInternal()); + pWindow = g_pCompositor->vectorToWindowUnified(g_pInputManager->getMouseCoordsInternal(), RESERVED_EXTENTS | INPUT_EXTENTS | ALLOW_FLOATING); if (!pWindow) pWindow = g_pCompositor->getTopLeftWindowOnWorkspace(pWorkspace->m_iID); |
