aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathias <mathias>2007-10-24 07:35:25 (GMT)
committermathias <mathias>2007-10-24 07:35:25 (GMT)
commit74eb584a312aba21b21eccb6c49ade1571aa3740 (patch)
tree3ef0a760aa4667271edd009c951593884bb56f86 /src
parentb504021145c9d79759c3809c4001ee2acdf4a5aa (diff)
downloadfluxbox_paul-74eb584a312aba21b21eccb6c49ade1571aa3740.zip
fluxbox_paul-74eb584a312aba21b21eccb6c49ade1571aa3740.tar.bz2
reenabled raising window if window was moved by mouse by 0 pixels
Diffstat (limited to 'src')
-rw-r--r--src/Window.cc9
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,