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

Derek Foreman derekf at osg.samsung.com
Wed Oct 21 15:00:00 PDT 2015


Looks like this has been NAK'd a couple of times now and the preferred
solution is to fix popup initiation from keyboard, so I'm going to
remove this patch from patchwork.

Sorry,
Derek

On 06/10/15 04: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;
> -
>  	case XKB_KEY_q:
>  		exit (0);
>  		break;
> @@ -271,8 +267,8 @@ redraw_handler(struct widget *widget, void *data)
>  	            "Maximized? %u\n"
>  	            "Transient? %u\n"
>  	            "Keys: (f)ullscreen, (m)aximize,\n"
> -	            "      (n)ew window, (p)opup,\n"
> -	            "      (q)uit, (t)ransient window\n",
> +	            "      (n)ew window, (q)uit,\n"
> +	            "      (t)ransient window\n",
>  	            window, window_is_fullscreen(window),
>  	            window_is_maximized(window), window_get_parent(window) ? 1 : 0);
>  
> 



More information about the wayland-devel mailing list