diff options
Diffstat (limited to 'src/Slit.cc')
-rw-r--r-- | src/Slit.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Slit.cc b/src/Slit.cc index 8a09e6c..396cad8 100644 --- a/src/Slit.cc +++ b/src/Slit.cc | |||
@@ -177,9 +177,9 @@ public: | |||
177 | return m_client.visible(); | 177 | return m_client.visible(); |
178 | } | 178 | } |
179 | void click(int button, int time) { | 179 | void click(int button, int time) { |
180 | if (button == 4) { // wheel up | 180 | if (button == 4 || button == 2) { // wheel up |
181 | m_slit.clientUp(&m_client); | 181 | m_slit.clientUp(&m_client); |
182 | } else if (button == 5) { // wheel down | 182 | } else if (button == 5 || button == 3) { // wheel down |
183 | m_slit.clientDown(&m_client); | 183 | m_slit.clientDown(&m_client); |
184 | } else { | 184 | } else { |
185 | m_client.setVisible(!m_client.visible()); | 185 | m_client.setVisible(!m_client.visible()); |