Compare commits
4 Commits
825b0388e0
...
859cfb295d
| Author | SHA1 | Date | |
|---|---|---|---|
| 859cfb295d | |||
|
|
3145440b47 | ||
|
|
85fe518c1a | ||
|
|
244fa852fe |
2
LICENSE
2
LICENSE
@@ -1,5 +1,6 @@
|
||||
MIT/X Consortium License
|
||||
|
||||
© 2010-2026 Hiltjo Posthuma <hiltjo@codemadness.org>
|
||||
© 2006-2019 Anselm R Garbe <anselm@garbe.ca>
|
||||
© 2006-2009 Jukka Salmi <jukka at salmi dot ch>
|
||||
© 2006-2007 Sander van Dijk <a dot h dot vandijk at gmail dot com>
|
||||
@@ -11,7 +12,6 @@ MIT/X Consortium License
|
||||
© 2008 Martin Hurton <martin dot hurton at gmail dot com>
|
||||
© 2008 Neale Pickett <neale dot woozle dot org>
|
||||
© 2009 Mate Nagy <mnagy at port70 dot net>
|
||||
© 2010-2016 Hiltjo Posthuma <hiltjo@codemadness.org>
|
||||
© 2010-2012 Connor Lane Smith <cls@lubutu.com>
|
||||
© 2011 Christoph Lohmann <20h@r-36.net>
|
||||
© 2015-2016 Quentin Rameau <quinq@fifth.space>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# dwm version
|
||||
VERSION = 6.6
|
||||
VERSION = 6.7
|
||||
|
||||
# Customize below to fit your system
|
||||
|
||||
|
||||
10
dwm.c
10
dwm.c
@@ -953,7 +953,8 @@ getatomprop(Client *c, Atom prop)
|
||||
|
||||
if (XGetWindowProperty(dpy, c->win, prop, 0L, sizeof atom, False, XA_ATOM,
|
||||
&da, &di, &dl, &dl, &p) == Success && p) {
|
||||
atom = *(Atom *)p;
|
||||
if (dl > 0)
|
||||
atom = *(Atom *)p;
|
||||
XFree(p);
|
||||
}
|
||||
return atom;
|
||||
@@ -1401,6 +1402,13 @@ resizeclient(Client *c, int x, int y, int w, int h)
|
||||
c->oldw = c->w; c->w = wc.width = w;
|
||||
c->oldh = c->h; c->h = wc.height = h;
|
||||
wc.border_width = c->bw;
|
||||
if (((nexttiled(c->mon->clients) == c && !nexttiled(c->next))
|
||||
|| &monocle == c->mon->lt[c->mon->sellt]->arrange)
|
||||
&& !c->isfullscreen && !c->isfloating) {
|
||||
c->w = wc.width += c->bw * 2;
|
||||
c->h = wc.height += c->bw * 2;
|
||||
wc.border_width = 0;
|
||||
}
|
||||
XConfigureWindow(dpy, c->win, CWX|CWY|CWWidth|CWHeight|CWBorderWidth, &wc);
|
||||
configure(c);
|
||||
XSync(dpy, False);
|
||||
|
||||
Reference in New Issue
Block a user