aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/efl_wl
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-01-17 17:33:57 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-01-17 16:39:44 -0500
commit45191ff294a117719bb2246bac9f0b29cd713ee7 (patch)
treefaee5692d0e910e03e8f44f4dce34589920509a9 /src/lib/efl_wl
parentefl-wl: split case for toplevel vs popup during surface hide activate propaga... (diff)
downloadefl-45191ff294a117719bb2246bac9f0b29cd713ee7.tar.gz
efl-wl: send more mouse buttons to clients
@fix
Diffstat (limited to 'src/lib/efl_wl')
-rw-r--r--src/lib/efl_wl/efl_wl.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/lib/efl_wl/efl_wl.c b/src/lib/efl_wl/efl_wl.c
index cbfc4cc94d..6606e990e4 100644
--- a/src/lib/efl_wl/efl_wl.c
+++ b/src/lib/efl_wl/efl_wl.c
@@ -2058,11 +2058,17 @@ comp_surface_mouse_button(Comp_Surface *cs, Comp_Seat *s, uint32_t timestamp, ui
btn = BTN_RIGHT;
break;
case 4:
+ btn = BTN_SIDE;
+ break;
case 5:
+ btn = BTN_EXTRA;
+ break;
case 6:
+ btn = BTN_FORWARD;
+ break;
case 7:
- /* these are supposedly axis events */
- return;
+ btn = BTN_BACK;
+ break;
default:
btn = button_id + BTN_SIDE - 8;
break;