Re: Any way to capture keyboard/mouse in an extension?
- From: "Jasper St. Pierre" <jstpierre mecheye net>
- To: Milan Oravec <moravec ukf sk>
- Cc: gnome-shell-list gnome org
- Subject: Re: Any way to capture keyboard/mouse in an extension?
- Date: Mon, 9 Apr 2012 04:40:40 -0300
I started to code up some patches for the functionality at:
https://github.com/magcius/mutter/tree/grabs
I'm not sure how to proceed further -- I'll converse with coworkers in
the morning, but in order to give something to hand to gjs so you guys
can play around with it, I'd need a GDK event, but our only hook into
GDK is an event filter, which is before the GDK event is filled in.
On Mon, Apr 9, 2012 at 4:35 AM, Milan Oravec <moravec ukf sk> wrote:
>
> On 04/08/2012 11:18 PM, Jasper St. Pierre wrote:
>>
>> You can use a keybinding to do something on a key press (except not
>> yet because Florian needs to review my patch to make keybindings under
>> extensions). Unfortunately, buttons (which include the scroll wheel,
>> strangely) aren't covered by the keybinding system.
>>
>> I wonder if we should extend the keybinding system to set up passive
>> grabs for buttons or not...
>
>
> It would be nice to have this option. It is not uncommon that mouse has more
> buttons which can by programmed to various functions (shortcuts).
>
>
>>
>> On Sun, Apr 8, 2012 at 11:43 AM, Grzegorz Nosek<root localdomain pl>
>> wrote:
>>>
>>> Basically, I have the same question (and for the same underlying reason)
>>> as:
>>>
>>> http://mail.gnome.org/archives/gnome-shell-list/2011-April/msg00360.html
>>>
>>> which unfortunately remained unanswered.
>>>
>>> I want to alter windows' opacities after alt+scroll over them (or
>>> meta+scroll, or whatever). Any pointers?
>>>
>>> Best regards,
>>> Grzegorz Nosek
>>> _______________________________________________
>>> gnome-shell-list mailing list
>>> gnome-shell-list gnome org
>>> http://mail.gnome.org/mailman/listinfo/gnome-shell-list
>>
>>
>>
>>
> _______________________________________________
> gnome-shell-list mailing list
> gnome-shell-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-shell-list
--
Jasper
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]