qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Ongoing changes to the displaying code


From: Mark McLoughlin
Subject: Re: [Qemu-devel] Ongoing changes to the displaying code
Date: Thu, 15 Jan 2009 08:53:13 +0000

On Fri, 2009-01-09 at 12:59 -0600, Anthony Liguori wrote:
> 
> Riku Voipio wrote:
> > On Fri, Jan 09, 2009 at 11:24:42AM -0600, Anthony Liguori wrote:
> >   
> >> If you search the mailing lists, I went down this route before I 
> >> originally wrote the VNC server.  XEmbed has some serious limitations 
> >> surrounding how events are propagated between windows.  I convinced 
> >> myself that you couldn't do what you really wanted to do through this 
> >> mechanism.
> >>     
> >
> > Howabout using passing a window xid from the GUI app to qemu with
> > command line paramater -parent ? This is how Xoo[1] starts Xephyr
> > (or Xnest) in itself:
> >
> > [1] http://labs.o-hand.com/xoo/
> >   
> 
> Window events won't propagate (things like focus cycling).  There is 
> tons of information about why these things don't work well in practice 
> out there for those interested in googling.

FWIW, I got this to work well in the past with Sabayon. I've long
forgotten the details, but here's the gtk+ widget with a lot of the gory
bits:

  
http://svn.gnome.org/viewvc/sabayon/trunk/admin-tool/sessionwidget.py?view=markup

Also, see this blog entry:

  http://blogs.gnome.org/markmc/2005/06/14/input-focus/

Cheers,
Mark.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]