aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2026-01-10 22:42:09 +0800
committerXiao Pan <xyz@flylightning.xyz>2026-01-10 22:42:09 +0800
commitf9b8ad8e308b39ed836f5a66dd1a18b8405eca3d (patch)
tree220f867caca462df12e5464a17b79c6f53118bda
parent0a3e97592b55c9ace6378339676ae8a3ae184d94 (diff)
parent85fe518c1af5eb43f222f4d8579e4814ed769f3b (diff)
Merge branch 'master' into fly
-rw-r--r--LICENSE2
-rw-r--r--config.mk2
-rw-r--r--dwm.c3
3 files changed, 4 insertions, 3 deletions
diff --git a/LICENSE b/LICENSE
index 995172f..596e6cd 100644
--- a/LICENSE
+++ b/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>
diff --git a/config.mk b/config.mk
index b469a2b..6e875f1 100644
--- a/config.mk
+++ b/config.mk
@@ -1,5 +1,5 @@
# dwm version
-VERSION = 6.6
+VERSION = 6.7
# Customize below to fit your system
diff --git a/dwm.c b/dwm.c
index 1ec34f0..1c3140e 100644
--- a/dwm.c
+++ b/dwm.c
@@ -871,7 +871,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;