summaryrefslogtreecommitdiffstats
path: root/tabbed.c
diff options
context:
space:
mode:
Diffstat (limited to 'tabbed.c')
-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);
}