sites

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit ac47b5e382c93834bda7ac4fa76d2c66b5f56c16
parent 671c95dfcc5773fe211e965719c8476983594cbf
Author: José Miguel Sánchez García <soy.jmi2k@gmail.com>
Date:   Sat, 30 Dec 2017 14:21:05 +0000

[dwm][swallow] Resize window after swallow

Fixes the window having the wrong dimensions after swallowing until moved or
resized manually.

Diffstat:
Mdwm.suckless.org/patches/swallow/dwm-swallow-20160717-56a31dc.diff | 3++-
Mdwm.suckless.org/patches/swallow/dwm-swallow-20170909-ceac8c9.diff | 7++++---
Mdwm.suckless.org/patches/swallow/dwm-swallow-6.1.diff | 3++-
3 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/dwm.suckless.org/patches/swallow/dwm-swallow-20160717-56a31dc.diff b/dwm.suckless.org/patches/swallow/dwm-swallow-20160717-56a31dc.diff @@ -115,7 +115,7 @@ index b2bc9bd..528df2f 100644 c->isfloating = r->isfloating; c->tags |= r->tags; for (m = mons; m && m->num != r->monitor; m = m->next); -@@ -415,6 +429,46 @@ attachstack(Client *c) +@@ -415,6 +429,47 @@ attachstack(Client *c) } void @@ -138,6 +138,7 @@ index b2bc9bd..528df2f 100644 + c->win = w; + updatetitle(p); + arrange(p->mon); ++ XMoveResizeWindow(dpy, p->win, p->x, p->y, p->w, p->h); + configure(p); + updateclientlist(); +} diff --git a/dwm.suckless.org/patches/swallow/dwm-swallow-20170909-ceac8c9.diff b/dwm.suckless.org/patches/swallow/dwm-swallow-20170909-ceac8c9.diff @@ -6,8 +6,8 @@ Subject: [PATCH] Apply swallow patch. --- config.def.h | 7 ++- config.mk | 2 +- - dwm.c | 189 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- - 3 files changed, 189 insertions(+), 9 deletions(-) + dwm.c | 190 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- + 3 files changed, 190 insertions(+), 9 deletions(-) diff --git a/config.def.h b/config.def.h index a9ac303..2d26a23 100644 @@ -106,7 +106,7 @@ index a5ce993..20b635b 100644 c->isfloating = r->isfloating; c->tags |= r->tags; for (m = mons; m && m->num != r->monitor; m = m->next); -@@ -414,6 +430,46 @@ attachstack(Client *c) +@@ -414,6 +430,47 @@ attachstack(Client *c) c->mon->stack = c; } @@ -130,6 +130,7 @@ index a5ce993..20b635b 100644 + c->win = w; + updatetitle(p); + arrange(p->mon); ++ XMoveResizeWindow(dpy, p->win, p->x, p->y, p->w, p->h); + configure(p); + updateclientlist(); +} diff --git a/dwm.suckless.org/patches/swallow/dwm-swallow-6.1.diff b/dwm.suckless.org/patches/swallow/dwm-swallow-6.1.diff @@ -115,7 +115,7 @@ index 0362114..566491a 100644 c->isfloating = r->isfloating; c->tags |= r->tags; for (m = mons; m && m->num != r->monitor; m = m->next); -@@ -413,6 +427,46 @@ attachstack(Client *c) +@@ -413,6 +427,47 @@ attachstack(Client *c) } void @@ -138,6 +138,7 @@ index 0362114..566491a 100644 + c->win = w; + updatetitle(p); + arrange(p->mon); ++ XMoveResizeWindow(dpy, p->win, p->x, p->y, p->w, p->h); + configure(p); + updateclientlist(); +}