Commit graph

5 commits

Author SHA1 Message Date
Julien Danjou
6c15afbbae fix memory allocation when DISPLAY is not set 2007-12-04 10:17:02 +01:00
Nikos Ntarmos
963bef908e Move string manipulation of the DISPLAY env var into get_client_addr
awesome-client.c manipulates the string returned from getenv("DISPLAY"),
removing anything after the first dot ('.'). awesome.c however has no
such thing, leading to awesome listening on a '...0.0' socket. Anyway,
this seems like something that should be in get_client_addr as opposed
to hardwired in awesome-client.c or awesome.c. The attached patch moves
it into awesome-client-common.c:get_client_addr() and teaches
awesome-client.c of the change.
2007-11-27 14:09:21 +01:00
Julien Danjou
1722520a2a add some comments to explain len computing 2007-11-26 09:52:55 +01:00
Julien Danjou
f28f0e7407 add display name in socket path 2007-10-29 17:29:58 +01:00
Julien Danjou
27e7706800 move common stuff for socket com into awesome-client-common.c 2007-10-29 16:14:50 +01:00