aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathias <mathias>2004-12-02 15:30:59 (GMT)
committermathias <mathias>2004-12-02 15:30:59 (GMT)
commitb15315445d7751a8539a79992b914335f3870802 (patch)
tree096e0d5010431727679d9ccd1fb3a2fd5e49db82 /src
parentde2f362c3d6c081f2b337537e6e2508a37b95b9e (diff)
downloadfluxbox-b15315445d7751a8539a79992b914335f3870802.zip
fluxbox-b15315445d7751a8539a79992b914335f3870802.tar.bz2
added middle/rightclick on slitclient-menu-items to move the client up/down in the slit
Diffstat (limited to 'src')
-rw-r--r--src/Slit.cc4
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());