qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Mark McLoughlin <markmc@redhat.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Ongoing changes to the displaying code
Date: Thu, 15 Jan 2009 08:53:13 +0000	[thread overview]
Message-ID: <1232009593.5205.16.camel@localhost.localdomain> (raw)
In-Reply-To: <49679E7F.6050504@codemonkey.ws>

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.

  parent reply	other threads:[~2009-01-15  8:53 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-09  1:52 [Qemu-devel] Ongoing changes to the displaying code Daniel Gutson
2009-01-09  2:50 ` Anthony Liguori
2009-01-09  3:04   ` Anthony Liguori
2009-01-09  9:28     ` David Turner
2009-01-09 15:20       ` Anthony Liguori
2009-01-09 16:53         ` David Turner
2009-01-09 17:16         ` Ian Jackson
2009-01-09 17:24           ` Anthony Liguori
2009-01-09 17:42             ` Riku Voipio
2009-01-09 18:59               ` Anthony Liguori
2009-01-10  0:01                 ` Jamie Lokier
2009-01-10  1:39                   ` Anthony Liguori
2009-01-12 15:25                 ` Ian Jackson
2009-01-15  8:53                 ` Mark McLoughlin [this message]
2009-01-09 17:26           ` David Turner
2009-01-09 19:02             ` Anthony Liguori
2009-01-12 15:31             ` Ian Jackson
2009-01-11  8:22     ` Avi Kivity
2009-01-12 15:33       ` Ian Jackson
2009-01-12 15:57         ` Avi Kivity
2009-01-09 12:04 ` Stefano Stabellini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1232009593.5205.16.camel@localhost.localdomain \
    --to=markmc@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).