cleanup patches
This commit is contained in:
parent
d03a318eab
commit
87befc9d80
2 changed files with 4 additions and 8 deletions
|
@ -1,5 +1,3 @@
|
||||||
diff --git a/dwm.c b/dwm.c
|
|
||||||
index 46b3be6..060614e 100644
|
|
||||||
--- a/dwm.c
|
--- a/dwm.c
|
||||||
+++ b/dwm.c
|
+++ b/dwm.c
|
||||||
@@ -693,7 +693,7 @@ cleanup(void)
|
@@ -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
|
--- a/dwm.c
|
||||||
+++ b/dwm.c
|
+++ b/dwm.c
|
||||||
@@ -1937,7 +1937,8 @@ sendmon(Client *c, Monitor *m)
|
@@ -1937,7 +1937,8 @@ sendmon(Client *c, Monitor *m)
|
||||||
|
@ -7,8 +5,8 @@ index 060614e..a61bfab 100644
|
||||||
attachx(c);
|
attachx(c);
|
||||||
attachstack(c);
|
attachstack(c);
|
||||||
- arrange(m);
|
- arrange(m);
|
||||||
+ if (!c->isfloating)
|
+ if (!c->isfloating)
|
||||||
+ arrange(m);
|
+ arrange(m);
|
||||||
if (hadfocus) {
|
if (hadfocus) {
|
||||||
focus(c);
|
focus(c);
|
||||||
restack(m);
|
restack(m);
|
||||||
|
@ -19,9 +17,9 @@ index 060614e..a61bfab 100644
|
||||||
- } else
|
- } else
|
||||||
+ } else {
|
+ } else {
|
||||||
sendmon(c, dest);
|
sendmon(c, dest);
|
||||||
+ applyrules(c);
|
+ applyrules(c);
|
||||||
+ XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h);
|
+ XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h);
|
||||||
+ }
|
+ }
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue