[dev] [st] Feature to replace st window by spawned x window

From: Nick <suckless-dev_AT_njw.me.uk>
Date: Mon, 28 Apr 2014 17:17:56 -0400

Esteemed comrades,

I remember reading ages ago about how graphical programs launched
from Plan9's terminal thing (/editor/whatever) replace the window
it's in. I would really love a patch for st to do the same. So I
could type 'mupdf mything.pdf' and mupdf launches in the same window
as st was inhabiting, with st magically returning once mupdf exits.

Does someone with more knowledge of X11 know whether this is likely
to be readily do-able? Can you launch an arbitrary X program and say
"use this window"? I'm guessing not, but don't really know.

There are disadvantages to this approach, the main one being hiding
stdout & stderr. But I still think it could be interesting.

Received on Mon Apr 28 2014 - 23:17:56 CEST

This archive was generated by hypermail 2.3.0 : Mon Apr 28 2014 - 23:24:06 CEST