From: Emilio Pozuelo Monfort <[email protected]>

This fixes the bug that commit da704d was trying to fix, where a
popup would appear on top of its parent but behind other windows.

https://bugs.freedesktop.org/show_bug.cgi?id=74831

Signed-off-by: Emilio Pozuelo Monfort <[email protected]>
---
 desktop-shell/shell.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c
index a73e8e0..be44905 100644
--- a/desktop-shell/shell.c
+++ b/desktop-shell/shell.c
@@ -5701,6 +5701,9 @@ shell_add_bindings(struct weston_compositor *ec, struct 
desktop_shell *shell)
        weston_compositor_add_button_binding(ec, BTN_LEFT, 0,
                                             click_to_activate_binding,
                                             shell);
+       weston_compositor_add_button_binding(ec, BTN_RIGHT, 0,
+                                            click_to_activate_binding,
+                                            shell);
        weston_compositor_add_touch_binding(ec, 0,
                                            touch_to_activate_binding,
                                            shell);
-- 
1.9.rc1

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to