diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Window.cc | 9 |
1 files changed, 9 insertions, 0 deletions
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, |