projects
/
profile
/
ivi
/
weston-ivi-shell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdbbae2
)
desktop-shell: Activate surface on right click too
author
Kristian Høgsberg
<krh@bitplanet.net>
Mon, 7 Apr 2014 18:52:17 +0000
(11:52 -0700)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Mon, 7 Apr 2014 18:52:17 +0000
(11:52 -0700)
This raises the surface to the top on right click as well, which fixes
pop stacking.
https://bugs.freedesktop.org/show_bug.cgi?id=74831
desktop-shell/shell.c
patch
|
blob
|
history
diff --git
a/desktop-shell/shell.c
b/desktop-shell/shell.c
index
fe03420
..
466ea93
100644
(file)
--- a/
desktop-shell/shell.c
+++ b/
desktop-shell/shell.c
@@
-5852,6
+5852,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);