mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 02:25:58 +01:00
input: remove old redundant code
This commit is contained in:
parent
34d845da13
commit
86e487e003
1 changed files with 0 additions and 5 deletions
|
@ -270,11 +270,6 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
pFoundWindow = g_pCompositor->vectorToWindowIdeal(mouseCoords);
|
pFoundWindow = g_pCompositor->vectorToWindowIdeal(mouseCoords);
|
||||||
|
|
||||||
// TODO: this causes crashes, sometimes. ???
|
|
||||||
// if (refocus && !pFoundWindow) {
|
|
||||||
// pFoundWindow = g_pCompositor->getFirstWindowOnWorkspace(PMONITOR->activeWorkspace);
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pFoundWindow) {
|
if (pFoundWindow) {
|
||||||
|
|
Loading…
Reference in a new issue