[linux-audio-dev] Audio s/w ui swallowing

rm async at cc.gatech.edu
Fri Jan 31 03:48:00 UTC 2003


On Fri, Jan 31, 2003 at 08:31:44AM +0100, Robert Jonsson wrote:
> On Thursday 30 January 2003 18.12, Steve Harris wrote:
> > On Thu, Jan 30, 2003 at 11:31:12 +0100, torbenh at gmx.de wrote:
> > > tell app its windowname and swallow that...
> > > if app wnats to open another window then it has to tell
> > > the host app via IPC of its new window ID and then the host will
> > > swallow it.
> > >
> > > gnome-toolbar can swallow every app... kde toolbar too...
> > > so host could be written with qt or gtk dont know about
> > > fltk, wx etc...
> >
> > Yes, but hat is done with a window manger hack, normal X apps can't do
> > that.
> [...]

http://www.freedesktop.org/standards/xembed/html/

if i understand correctly, hack seems like too strong a word. the
embedder reparents the out-of-process window and sets the
SubstructureRedirectMask so it can intercept events etc. it's fairly
simple (even with all the bells and whistles they use in their spec),
and in general it isn't an abuse of the X architecture. see also 'man
XReparentWindow' and for example 'man XConfigureEvent' to see how the
substructure redirect is handled.

the only thing that really needs to be agreed upon after that is how
to get the window id of the window to be swallowed.

	rob

----
Robert Melby
Georgia Institute of Technology, Atlanta Georgia, 30332
uucp:     ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!gt4255a
Internet: async at cc.gatech.edu



More information about the Linux-audio-dev mailing list