Setting the XEMBED environment variable. - tabbed - tab interface for applicati… | |
git clone git://git.suckless.org/tabbed | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit a7d7358a2cc159127989d835792535f2ca95c43a | |
parent 94add5a96d4db3df1d71a45defa671ed45d23c7f | |
Author: Christoph Lohmann <[email protected]> | |
Date: Tue, 25 Dec 2012 23:50:21 +0100 | |
Setting the XEMBED environment variable. | |
Thanks Kyle Kramer for the suggestion! | |
Diffstat: | |
M tabbed.c | 2 ++ | |
1 file changed, 2 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/tabbed.c b/tabbed.c | |
@@ -913,6 +913,8 @@ setup(void) { | |
XSetWMProtocols(dpy, win, &wmatom[WMDelete], 1); | |
snprintf(winid, sizeof(winid), "%lu", win); | |
+ setenv("XEMBED", winid, 1); | |
+ | |
nextfocus = foreground; | |
focus(-1); | |
} |