mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-03 06:46:38 -04:00
fix: fix dirtomon dir
This commit is contained in:
parent
3e9a01eb8a
commit
be2af33ef6
1 changed files with 1 additions and 1 deletions
2
maomao.c
2
maomao.c
|
|
@ -3034,7 +3034,7 @@ dirtomon(enum wlr_direction dir) {
|
|||
if (!wlr_output_layout_get(output_layout, selmon->wlr_output))
|
||||
return selmon;
|
||||
if ((next = wlr_output_layout_adjacent_output(
|
||||
output_layout, dir, selmon->wlr_output, selmon->m.x, selmon->m.y)))
|
||||
output_layout, 1 << dir, selmon->wlr_output, selmon->m.x, selmon->m.y)))
|
||||
return next->data;
|
||||
if ((next = wlr_output_layout_farthest_output(
|
||||
output_layout, dir ^ (WLR_DIRECTION_LEFT | WLR_DIRECTION_RIGHT),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue