summaryrefslogtreecommitdiff
path: root/src/lib/efl_wl/efl_wl.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;