qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <aliguori@us.ibm.com>
To: Jan Kiszka <jan.kiszka@web.de>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 4/7] gtk: add support for input grabbing (v2)
Date: Wed, 05 Sep 2012 15:40:31 -0500	[thread overview]
Message-ID: <87ehmg9pa8.fsf@codemonkey.ws> (raw)
In-Reply-To: <5047AA0D.8080008@web.de>

Jan Kiszka <jan.kiszka@web.de> writes:

> On 2012-09-05 21:18, Anthony Liguori wrote:
>> There is a small deviation from SDL's behavior here.  Instead of Ctrl+Alt
>> triggering grab, we now use Ctrl-Alt-g to trigger grab.
>> 
>> GTK will not accept Ctrl+Alt as an accelerator since it just consists of
>> modifiers.  Having grab as a proper accelerator is important as it allows a user
>> to override the accelerator for accessibility purposes.
>> 
>> We also are not automatically grabbing on left-click.  Besides the inability to
>> tie mouse clicks to an accelerator, I think this behavior is hard to discover
>> and since it only happens depending on the guest state, it can lead to confusing
>> behavior.
>> 
>> This can be changed in the future if there's a strong resistence to dropping
>> left-click-to-grab, but I think we're better off dropping it.
>> 
>> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
>> ---
>> v1 -> v2
>>  - add a menu option for grab on hover (Jan)
>
> Thanks. Are options like this persistent across VM starts?

No.  I don't want to include that in this series as it opens up a whole
debate about GConf vs. configuration files...

Regards,

Anthony Liguori

>
> Jan

  reply	other threads:[~2012-09-05 20:40 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-05 19:18 [Qemu-devel] [PATCH 0/7] Add GTK UI to enable basic accessibility (v3) Anthony Liguori
2012-09-05 19:18 ` [Qemu-devel] [PATCH 1/7] console: allow VCs to be overridden by UI Anthony Liguori
2012-09-05 19:18 ` [Qemu-devel] [PATCH 2/7] ui: add basic GTK gui (v2) Anthony Liguori
2012-09-05 19:53   ` Blue Swirl
2012-09-05 20:00     ` Eric Blake
2012-09-05 20:38     ` Anthony Liguori
2012-09-05 21:00       ` Blue Swirl
2012-09-05 23:07         ` Anthony Liguori
2012-09-08  7:00           ` Blue Swirl
2012-09-05 20:04   ` Stefan Weil
2012-09-05 20:39     ` Anthony Liguori
2012-09-05 20:45     ` Jan Kiszka
2012-09-05 22:55       ` Anthony Liguori
2012-09-05 20:54   ` Jan Kiszka
2012-09-05 19:18 ` [Qemu-devel] [PATCH 3/7] gtk: add virtual console support (v2) Anthony Liguori
2012-09-05 19:18 ` [Qemu-devel] [PATCH 4/7] gtk: add support for input grabbing (v2) Anthony Liguori
2012-09-05 19:37   ` Jan Kiszka
2012-09-05 20:40     ` Anthony Liguori [this message]
2012-09-05 20:43       ` Jan Kiszka
2012-09-05 19:18 ` [Qemu-devel] [PATCH 5/7] gtk: add support for screen scaling and full screen (v3) Anthony Liguori
2012-09-05 19:18 ` [Qemu-devel] [PATCH 6/7] gtk: add translation support Anthony Liguori
2012-09-06 12:18   ` Kevin Wolf
2012-09-06 12:40     ` Anthony Liguori
2012-09-06 13:00   ` Peter Maydell
2012-09-05 19:18 ` [Qemu-devel] [PATCH 7/7] gtk: make default UI (v3) Anthony Liguori

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=87ehmg9pa8.fsf@codemonkey.ws \
    --to=aliguori@us.ibm.com \
    --cc=jan.kiszka@web.de \
    --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).