summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2012-12-25 23:50:21 +0100
committerChristoph Lohmann <20h@r-36.net>2012-12-25 23:50:21 +0100
commita7d7358a2cc159127989d835792535f2ca95c43a (patch)
tree96434934bd0619f54e00e9de029d0838c3084676
parent94add5a96d4db3df1d71a45defa671ed45d23c7f (diff)
Setting the XEMBED environment variable.
Thanks Kyle Kramer for the suggestion!
-rw-r--r--tabbed.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tabbed.c b/tabbed.c
index 1f9afc0..308776e 100644
--- 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);
}