From a7d7358a2cc159127989d835792535f2ca95c43a Mon Sep 17 00:00:00 2001 From: Christoph Lohmann <20h@r-36.net> Date: Tue, 25 Dec 2012 23:50:21 +0100 Subject: Setting the XEMBED environment variable. Thanks Kyle Kramer for the suggestion! --- tabbed.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tabbed.c') 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); } -- cgit v1.2.3