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

Bill Spitzak spitzak at gmail.com
Tue Oct 13 08:41:57 PDT 2015


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.




More information about the wayland-devel mailing list