Fix focusing
This commit is contained in:
parent
52dd077032
commit
7e71b3c2af
@ -162,9 +162,11 @@ window_t * top_at(uint16_t x, uint16_t y) {
|
||||
if (window_top == NULL) {
|
||||
window_top = win;
|
||||
index_top = win->z;
|
||||
continue;
|
||||
} else {
|
||||
if (win->z < index_top) continue;
|
||||
window_top = win;
|
||||
index_top = win->z;
|
||||
}
|
||||
if (win->z < index_top) continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user