[PATCH v2 3/3] clients: Disable popup shortcut in stacking demo
Ben Hummon
benjamin.hummon at gmail.com
Tue Oct 6 14:48:31 PDT 2015
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);
--
2.6.0
More information about the wayland-devel
mailing list