cleanup patches
This commit is contained in:
parent
d03a318eab
commit
87befc9d80
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue