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 9ee1c5e..8bf728f 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -2673,10 +2673,14 @@ void FluxboxWindow::buttonPressEvent(XButtonEvent &be) {
2673 2673
2674void FluxboxWindow::buttonReleaseEvent(XButtonEvent &re) { 2674void FluxboxWindow::buttonReleaseEvent(XButtonEvent &re) {
2675 2675
2676 if ((re.button == 1) && (re.state & Mod1Mask) && !screen().clickRaises()) 2676 if ((re.button == 1) && (re.state & Fluxbox::instance()->getModKey())
2677 && !screen().clickRaises()) {
2678
2677 if (!isMoving()) 2679 if (!isMoving())
2678 raise(); 2680 raise();
2679 2681
2682 }
2683
2680 if (isMoving()) 2684 if (isMoving())
2681 stopMoving(); 2685 stopMoving();
2682 else if (isResizing()) 2686 else if (isResizing())