[PATCH v2 3/3] clients: Disable popup shortcut in stacking demo

Jasper St. Pierre jstpierre at mecheye.net
Tue Oct 13 08:46:36 PDT 2015


Agreed. It should be possible to pop up windows from the keyboard.

On Tue, Oct 13, 2015 at 8:41 AM, Bill Spitzak <spitzak at gmail.com> wrote:
> On 10/06/2015 02:48 PM, Ben Hummon wrote:
>>
>> Weston does not allow popup menus initiated by keyboard. Remove the
>> broken keyboard shorcut for a popup from the stacking demo.
>>
>> Signed-off-by: Ben Hummon <benjamin.hummon at gmail.com>
>> ---
>>   clients/stacking.c | 8 ++------
>>   1 file changed, 2 insertions(+), 6 deletions(-)
>>
>> diff --git a/clients/stacking.c b/clients/stacking.c
>> index 6748576..f90243a 100644
>> --- a/clients/stacking.c
>> +++ b/clients/stacking.c
>> @@ -150,10 +150,6 @@ key_handler(struct window *window,
>>                 new_window(stacking, NULL);
>>                 break;
>>
>> -       case XKB_KEY_p:
>> -               show_popup(stacking, input, time, window);
>> -               break;
>> -
>
>
> Wouldn't it be better to make Weston work with this? Otherwise it will never
> get debugged.
>
>
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel



-- 
  Jasper


More information about the wayland-devel mailing list