summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Window.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Window.cc b/src/Window.cc
index db430f9..93fbea7 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -2658,6 +2658,10 @@ void FluxboxWindow::buttonPressEvent(XButtonEvent &be) {
2658 2658
2659void FluxboxWindow::buttonReleaseEvent(XButtonEvent &re) { 2659void FluxboxWindow::buttonReleaseEvent(XButtonEvent &re) {
2660 2660
2661 if ((re.button == 1) && (re.state & Mod1Mask) && !screen().clickRaises())
2662 if (!isMoving())
2663 raise();
2664
2661 if (isMoving()) 2665 if (isMoving())
2662 stopMoving(); 2666 stopMoving();
2663 else if (isResizing()) 2667 else if (isResizing())