diff options
author | Okan Demirmen <okan@cvs.openbsd.org> | 2012-07-04 18:00:14 +0000 |
---|---|---|
committer | Okan Demirmen <okan@cvs.openbsd.org> | 2012-07-04 18:00:14 +0000 |
commit | f9ec12be5744b56140176f6710c6d0c94d6fc572 (patch) | |
tree | ffbb1b93a08f282b1fcc1a7054b7d7ab0f860e17 /app | |
parent | 7363d0cd84fa46fa99f94ca25dde05be66660338 (diff) |
fix missing atom (WM_PROTOCOLS) wrt new style handing; without this, the
window manager didn't know if a client supported CLIENT_PROTO_DELETE and
thus used a hammer, XKillClient.
behaviour reported by Tim van der Molen.
Diffstat (limited to 'app')
-rw-r--r-- | app/cwm/client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/cwm/client.c b/app/cwm/client.c index 7dbe076b6..1aa46fe9b 100644 --- a/app/cwm/client.c +++ b/app/cwm/client.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: client.c,v 1.95 2012/07/03 13:49:03 okan Exp $ + * $OpenBSD: client.c,v 1.96 2012/07/04 18:00:13 okan Exp $ */ #include <sys/param.h> @@ -519,7 +519,7 @@ client_update(struct client_ctx *cc) int i; long n; - if ((n = xu_getprop(cc->win, WM_PROTOCOLS, + if ((n = xu_getprop(cc->win, cwmh[WM_PROTOCOLS].atom, XA_ATOM, 20L, (u_char **)&p)) <= 0) return; |