cleanup patches

This commit is contained in:
Luca Bilke 2024-02-28 01:33:38 +01:00
parent d03a318eab
commit 87befc9d80
No known key found for this signature in database
GPG Key ID: AD6630D0A1E650AC
2 changed files with 4 additions and 8 deletions

View File

@ -1,5 +1,3 @@
diff --git a/dwm.c b/dwm.c
index 46b3be6..060614e 100644
--- a/dwm.c
+++ b/dwm.c
@@ -693,7 +693,7 @@ cleanup(void)

View File

@ -1,5 +1,3 @@
diff --git a/dwm.c b/dwm.c
index 060614e..a61bfab 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1937,7 +1937,8 @@ sendmon(Client *c, Monitor *m)
@ -7,8 +5,8 @@ index 060614e..a61bfab 100644
attachx(c);
attachstack(c);
- arrange(m);
+ if (!c->isfloating)
+ arrange(m);
+ if (!c->isfloating)
+ arrange(m);
if (hadfocus) {
focus(c);
restack(m);
@ -19,9 +17,9 @@ index 060614e..a61bfab 100644
- } else
+ } else {
sendmon(c, dest);
+ applyrules(c);
+ applyrules(c);
+ XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h);
+ }
+ }
}
void