aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 4b4d1dc..eddc158 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -2851,6 +2851,20 @@ void FluxboxWindow::stopMoving(bool interrupted) {
2851 2851
2852 fluxbox->maskWindowEvents(0, 0); 2852 fluxbox->maskWindowEvents(0, 0);
2853 2853
2854 // if user has no clickraise he moves windows without
2855 // changing the stacking order. by not moving the mouse
2856 // but clicking (and holding the modifier for moving)
2857 // the window raises without having to aim for the titlebar/border
2858 // this is a mixture between "mouse raise" and "click raise"
2859 // TODO: state this in the official documentation
2860 if (m_last_move_x - frame().x() == 0 &&
2861 m_last_move_y - frame().y() == 0 &&
2862 !screen().clickRaises()) {
2863
2864 raise();
2865 }
2866
2867
2854 if (! screen().doOpaqueMove()) { 2868 if (! screen().doOpaqueMove()) {
2855 parent().drawRectangle(screen().rootTheme()->opGC(), 2869 parent().drawRectangle(screen().rootTheme()->opGC(),
2856 m_last_move_x, m_last_move_y, 2870 m_last_move_x, m_last_move_y,