summaryrefslogtreecommitdiff
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
parent742e20a002ca44f8d2b700b1379b3290436d728f (diff)
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
2058 btn = BTN_RIGHT; 2058 btn = BTN_RIGHT;
2059 break; 2059 break;
2060 case 4: 2060 case 4:
2061 btn = BTN_SIDE;
2062 break;
2061 case 5: 2063 case 5:
2064 btn = BTN_EXTRA;
2065 break;
2062 case 6: 2066 case 6:
2067 btn = BTN_FORWARD;
2068 break;
2063 case 7: 2069 case 7:
2064 /* these are supposedly axis events */ 2070 btn = BTN_BACK;
2065 return; 2071 break;
2066 default: 2072 default:
2067 btn = button_id + BTN_SIDE - 8; 2073 btn = button_id + BTN_SIDE - 8;
2068 break; 2074 break;