mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-09-19 13:52:48 +00:00
support monitors above and below in focusmon and tagmon
Fixes https://codeberg.org/dwl/dwl/issues/1105
This commit is contained in:
@@ -1474,7 +1474,8 @@ dirtomon(enum wlr_direction dir)
|
|||||||
dir, selmon->wlr_output, selmon->m.x, selmon->m.y)))
|
dir, selmon->wlr_output, selmon->m.x, selmon->m.y)))
|
||||||
return next->data;
|
return next->data;
|
||||||
if ((next = wlr_output_layout_farthest_output(output_layout,
|
if ((next = wlr_output_layout_farthest_output(output_layout,
|
||||||
dir ^ (WLR_DIRECTION_LEFT|WLR_DIRECTION_RIGHT),
|
dir ^ (WLR_DIRECTION_LEFT | WLR_DIRECTION_RIGHT |
|
||||||
|
WLR_DIRECTION_UP | WLR_DIRECTION_DOWN),
|
||||||
selmon->wlr_output, selmon->m.x, selmon->m.y)))
|
selmon->wlr_output, selmon->m.x, selmon->m.y)))
|
||||||
return next->data;
|
return next->data;
|
||||||
return selmon;
|
return selmon;
|
||||||
|
|||||||
Reference in New Issue
Block a user