summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 17ad5e2)
raw | patch | inline | side by side (parent: 17ad5e2)
author | Max Kellermann <max.kellermann@gmail.com> | |
Mon, 20 Mar 2017 16:07:43 +0000 (17:07 +0100) | ||
committer | Max Kellermann <max.kellermann@gmail.com> | |
Mon, 20 Mar 2017 16:07:43 +0000 (17:07 +0100) |
src/xterm_title.c | patch | blob | history |
diff --git a/src/xterm_title.c b/src/xterm_title.c
index 248cfa8c5d6a0f7291309e854eedd7c5dd936b29..cc4754a3383505f72d0b5b73cbf85be29acc8ab8 100644 (file)
--- a/src/xterm_title.c
+++ b/src/xterm_title.c
#include "options.h"
#include <stdio.h>
+#include <stdlib.h>
void
set_xterm_title(const char *title)
if (!options.enable_xterm_title)
return;
- if (g_getenv("WINDOWID") == NULL) {
+ if (getenv("WINDOWID") == NULL) {
options.enable_xterm_title = FALSE;
return;
}