aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Window.cc b/src/Window.cc
index b9ef2ff..a5cf6fd 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -2605,10 +2605,14 @@ void FluxboxWindow::buttonPressEvent(XButtonEvent &be) {
2605 2605
2606void FluxboxWindow::buttonReleaseEvent(XButtonEvent &re) { 2606void FluxboxWindow::buttonReleaseEvent(XButtonEvent &re) {
2607 2607
2608 if ((re.button == 1) && (re.state & Mod1Mask) && !screen().clickRaises()) 2608 if ((re.button == 1) && (re.state & Fluxbox::instance()->getModKey())
2609 && !screen().clickRaises()) {
2610
2609 if (!isMoving()) 2611 if (!isMoving())
2610 raise(); 2612 raise();
2611 2613
2614 }
2615
2612 if (isMoving()) 2616 if (isMoving())
2613 stopMoving(); 2617 stopMoving();
2614 else if (isResizing()) 2618 else if (isResizing())