mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-26 11:16:30 +00:00
do not arrange monitor if it's disabled (wlroots!4520)
This causes us to send negative values to xdg-configures (e.g a bug in our end) References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4520
This commit is contained in:
parent
b3f33e9147
commit
4043fc3093
1 changed files with 4 additions and 0 deletions
4
dwl.c
4
dwl.c
|
@ -460,6 +460,10 @@ void
|
|||
arrange(Monitor *m)
|
||||
{
|
||||
Client *c;
|
||||
|
||||
if (!m->wlr_output->enabled)
|
||||
return;
|
||||
|
||||
wl_list_for_each(c, &clients, link) {
|
||||
if (c->mon == m) {
|
||||
wlr_scene_node_set_enabled(&c->scene->node, VISIBLEON(c, m));
|
||||
|
|
Loading…
Reference in a new issue