From b5092167190004004d01ad01dd180ded079a0457 Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 17 Dec 2012 23:03:41 +0000 Subject: pull user home directory via getenv or getpwuid and stash it so we don't need to do this everytime; with Tiago Cunha --- calmwm.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'calmwm.h') diff --git a/calmwm.h b/calmwm.h index 05e56a3..6ee87be 100644 --- a/calmwm.h +++ b/calmwm.h @@ -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: calmwm.h,v 1.171 2012/12/17 18:35:26 okan Exp $ + * $OpenBSD: calmwm.h,v 1.172 2012/12/17 23:03:41 okan Exp $ */ #ifndef _CALMWM_H_ @@ -519,6 +519,7 @@ extern Cursor Cursor_resize; extern struct screen_ctx_q Screenq; extern struct client_ctx_q Clientq; extern struct conf Conf; +extern char *homedir; extern int HasRandr, Randr_ev; -- cgit v1.2.3-2-gb3c3