From b15315445d7751a8539a79992b914335f3870802 Mon Sep 17 00:00:00 2001 From: mathias Date: Thu, 2 Dec 2004 15:30:59 +0000 Subject: added middle/rightclick on slitclient-menu-items to move the client up/down in the slit --- src/Slit.cc | 4 ++-- 1 file 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: return m_client.visible(); } void click(int button, int time) { - if (button == 4) { // wheel up + if (button == 4 || button == 2) { // wheel up m_slit.clientUp(&m_client); - } else if (button == 5) { // wheel down + } else if (button == 5 || button == 3) { // wheel down m_slit.clientDown(&m_client); } else { m_client.setVisible(!m_client.visible()); -- cgit v0.11.2