diff options
author | mathias <mathias> | 2007-10-24 07:35:25 (GMT) |
---|---|---|
committer | mathias <mathias> | 2007-10-24 07:35:25 (GMT) |
commit | 74eb584a312aba21b21eccb6c49ade1571aa3740 (patch) | |
tree | 3ef0a760aa4667271edd009c951593884bb56f86 | |
parent | b504021145c9d79759c3809c4001ee2acdf4a5aa (diff) | |
download | fluxbox_pavel-74eb584a312aba21b21eccb6c49ade1571aa3740.zip fluxbox_pavel-74eb584a312aba21b21eccb6c49ade1571aa3740.tar.bz2 |
reenabled raising window if window was moved by mouse by 0 pixels
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/Window.cc | 9 |
2 files changed, 12 insertions, 0 deletions
@@ -1,5 +1,8 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 1.0.1: | 2 | Changes for 1.0.1: |
3 | *07/10/24: | ||
4 | * Reenabled raising window if window was moved by mouse by 0 pixels (Mathias) | ||
5 | Window.cc | ||
3 | *07/10/23: | 6 | *07/10/23: |
4 | * Adding/removing workspaces wasn't updating menu (Mark) | 7 | * Adding/removing workspaces wasn't updating menu (Mark) |
5 | Screen.cc | 8 | Screen.cc |
diff --git a/src/Window.cc b/src/Window.cc index bd39855..fe3a43b 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -3159,6 +3159,15 @@ void FluxboxWindow::stopMoving(bool interrupted) { | |||
3159 | 3159 | ||
3160 | fluxbox->maskWindowEvents(0, 0); | 3160 | fluxbox->maskWindowEvents(0, 0); |
3161 | 3161 | ||
3162 | // if no real movement happend -> raise if clickrais is disabled | ||
3163 | if (m_last_move_x - frame().x() == 0 && | ||
3164 | m_last_move_y - frame().y() == 0 && | ||
3165 | !screen().clickRaises()) { | ||
3166 | |||
3167 | raise(); | ||
3168 | } | ||
3169 | |||
3170 | |||
3162 | if (! screen().doOpaqueMove()) { | 3171 | if (! screen().doOpaqueMove()) { |
3163 | parent().drawRectangle(screen().rootTheme().opGC(), | 3172 | parent().drawRectangle(screen().rootTheme().opGC(), |
3164 | m_last_move_x, m_last_move_y, | 3173 | m_last_move_x, m_last_move_y, |