diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/Window.cc | 4 |
2 files changed, 9 insertions, 0 deletions
@@ -1,5 +1,10 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 0.9.14: | 2 | Changes for 0.9.14: |
3 | *05/09/04: | ||
4 | * Added Feature Request #1084510 (Mathias) | ||
5 | When Mod1 + LeftMouse are clicked on a Window and the mouse is not | ||
6 | moved, the window is raised at LeftMouseRelease | ||
7 | src/Window.cc | ||
3 | *05/09/03: | 8 | *05/09/03: |
4 | * Exchanged the hardcoded 3200 pixel limit for texture size to | 9 | * Exchanged the hardcoded 3200 pixel limit for texture size to |
5 | a calculated value based on screen dimensions (Mathias) | 10 | a calculated value based on screen dimensions (Mathias) |
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 | ||
2659 | void FluxboxWindow::buttonReleaseEvent(XButtonEvent &re) { | 2659 | void 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()) |