diff options
| author | dranull <150595692+dranull@users.noreply.github.com> | 2023-12-29 23:38:12 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-30 00:38:12 +0100 |
| commit | 5f8e4068e51480791dbccbe48e86910e9b3cc881 (patch) | |
| tree | a3df348e7e1aa33237295504b17f63239cfda61a /src/managers/input/InputManager.cpp | |
| parent | 78f9ba9fdd7e258747b862ca2ae7d4cf5335f4ed (diff) | |
groupbar: Middle click on groupbar to close tab (#4297)
* Prevent window swapping when the head is removed
* Bring floating windows to top when selected
* Allow clicks on gropubar in fullscreen 1
* Close window on groupbar with middle click
Diffstat (limited to 'src/managers/input/InputManager.cpp')
| -rw-r--r-- | src/managers/input/InputManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index 9aae3e44..78058a8a 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -601,7 +601,7 @@ void CInputManager::processMouseDownNormal(wlr_pointer_button_event* e) { const auto mouseCoords = g_pInputManager->getMouseCoordsInternal(); const auto w = g_pCompositor->vectorToWindowIdeal(mouseCoords); - if (w && !w->m_bIsFullscreen && !m_bLastFocusOnLS && w->checkInputOnDecos(INPUT_TYPE_BUTTON, mouseCoords, e)) + if (w && !m_bLastFocusOnLS && w->checkInputOnDecos(INPUT_TYPE_BUTTON, mouseCoords, e)) return; // clicking on border triggers resize |
