Setting the XEMBED environment variable. - ttabbed - Simple tabbing application for X11.
       
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit a7d7358a2cc159127989d835792535f2ca95c43a
 (DIR) parent 94add5a96d4db3df1d71a45defa671ed45d23c7f
 (HTM) Author: Christoph Lohmann <20h@r-36.net>
       Date:   Tue, 25 Dec 2012 23:50:21 +0100
       
       Setting the XEMBED environment variable.
       
       Thanks Kyle Kramer for the suggestion!
       
       Diffstat:
         tabbed.c                            |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
 (DIR) 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);
        }