mirror of
https://github.com/NickHu/sway
synced 2024-12-27 21:58:11 +01:00
parent
d28c4c0094
commit
8789ceea87
1 changed files with 3 additions and 1 deletions
|
@ -660,7 +660,9 @@ struct sway_container *floating_container_at(double lx, double ly,
|
|||
if (!workspace_is_visible(workspace)) {
|
||||
continue;
|
||||
}
|
||||
for (int k = 0; k < ws->floating->children->length; ++k) {
|
||||
// Items at the end of the list are on top, so iterate the list in
|
||||
// reverse.
|
||||
for (int k = ws->floating->children->length - 1; k >= 0; --k) {
|
||||
struct sway_container *floater =
|
||||
ws->floating->children->items[k];
|
||||
struct wlr_box box = {
|
||||
|
|
Loading…
Reference in a new issue