aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2008-10-15 21:07:14 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2008-10-15 21:07:14 (GMT)
commitccf096f771f84d8109f81c24a2af5f9510dda3c5 (patch)
tree038a6a0b98d6ef23b9b8a047aa498949b027bf01 /src/Window.cc
parent3441261346fcee4efb6ba27764384d141b2c4f7e (diff)
downloadfluxbox-ccf096f771f84d8109f81c24a2af5f9510dda3c5.zip
fluxbox-ccf096f771f84d8109f81c24a2af5f9510dda3c5.tar.bz2
reverted 1fdef35e51, added more info about that feature
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,