changeset: 2780:e638d4f40d56
user: Kris Maglione <kris_AT_suckless.org>
date: Thu Oct 07 16:31:38 2010 -0400
files: cmd/wmii/client.c
description:
[mq]: gethostbyname
diff -r fb75d60585f8 -r e638d4f40d56 cmd/wmii/client.c
--- a/cmd/wmii/client.c Sun Aug 29 08:53:15 2010 -0400
+++ b/cmd/wmii/client.c Thu Oct 07 16:31:38 2010 -0400
@@ -120,6 +120,7 @@
client_prop(c, xatom("WM_NAME"));
client_prop(c, xatom("_MOTIF_WM_HINTS"));
+ gethostname(hostname, sizeof(hostname) - 1);
if(getprop_textlist(&c->w, "WM_CLIENT_MACHINE", &host) &&
getprop_ulong(&c->w, Net("WM_PID"), "CARDINAL", 0, &pid, 1) &&
!strcmp(hostname, *host))
Received on Fri Oct 08 2010 - 20:41:48 CEST
This archive was generated by hypermail 2.2.0 : Fri Oct 08 2010 - 20:48:04 CEST