summaryrefslogtreecommitdiff
path: root/dwm.c
diff options
context:
space:
mode:
authorProsperousPotato <ProsperousPotato@users.noreply.github.com>2024-12-06 15:56:56 +0000
committerProsperousPotato <ProsperousPotato@users.noreply.github.com>2025-03-31 18:31:28 +0100
commit506971f46867ad00011161adf7495e7e2d680b20 (patch)
tree2f16f9d3d0ec00977f7c300004fdef383cce2eb0 /dwm.c
parentb017a2b37ed2bee21af9c7e5e950cdd592d8d454 (diff)
fix moving windows between multiple monitors
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dwm.c b/dwm.c
index 3a63af3..aa1205d 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1699,8 +1699,7 @@ sendmon(Client *c, Monitor *m)
detach(c);
detachstack(c);
c->mon = m;
- attach(c);
- attach(c);
+ attach(c);
attachstack(c);
focus(NULL);
arrange(NULL);