fix crash
This commit is contained in:
parent
223ca6e286
commit
1b1a0259a8
1 changed files with 4 additions and 3 deletions
|
|
@ -185,9 +185,10 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) {
|
||||||
} else {
|
} else {
|
||||||
pFoundWindow = g_pCompositor->vectorToWindowIdeal(mouseCoords);
|
pFoundWindow = g_pCompositor->vectorToWindowIdeal(mouseCoords);
|
||||||
|
|
||||||
if (refocus && !pFoundWindow) {
|
// TODO: this causes crashes, sometimes. ???
|
||||||
pFoundWindow = g_pCompositor->getFirstWindowOnWorkspace(PMONITOR->activeWorkspace);
|
// if (refocus && !pFoundWindow) {
|
||||||
}
|
// pFoundWindow = g_pCompositor->getFirstWindowOnWorkspace(PMONITOR->activeWorkspace);
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pFoundWindow) {
|
if (pFoundWindow) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue