added middle/rightclick on slitclient-menu-items to move the client up/down in the slit
mathias mathias
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
src/Slit.cc
→
src/Slit.cc
@@ -177,9 +177,9 @@ bool isSelected() const {
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());