WINDOWID has to be set after the window is created, but will not show up in /proc/pid/environ if set after the window/shell is spawned.