Setting the XEMBED environment variable.

Thanks Kyle Kramer for the suggestion!
This commit is contained in:
Christoph Lohmann 2012-12-25 23:50:21 +01:00
parent 94add5a96d
commit a7d7358a2c

View File

@ -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);
}