aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-10-15 23:20:30 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-10-15 23:20:30 (GMT)
commitf92fd6ca0562c7a91facbab4ec1ffa87ffc0d517 (patch)
tree8fb03fb8dd417184b7a4316eabdeddeb29f47260
parent6642792f68ae42ba8d2bcbe2033284f7e8e61167 (diff)
downloadfluxbox-f92fd6ca0562c7a91facbab4ec1ffa87ffc0d517.zip
fluxbox-f92fd6ca0562c7a91facbab4ec1ffa87ffc0d517.tar.bz2
unrevert 1fdef35e51
x Mathias should listen to me when I say "by the way, I know you liked the code I just removed; you should change your keys file to use :MacroCmd {Focus} {Raise} {StartMoving}". Behavior in 1.0.0 and previous was that alt+click would focus and raise, regardless of whether the window was moved or not. If mathias really wants his alt+drag to preserve stacking order, he should add Mouse<N>Move events to the keys file to distinguish moving from clicking. I've been planning on doing it anyway.
-rw-r--r--src/Window.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/Window.cc b/src/Window.cc
index eddc158..4b4d1dc 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -2851,20 +2851,6 @@ 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
2868 if (! screen().doOpaqueMove()) { 2854 if (! screen().doOpaqueMove()) {
2869 parent().drawRectangle(screen().rootTheme()->opGC(), 2855 parent().drawRectangle(screen().rootTheme()->opGC(),
2870 m_last_move_x, m_last_move_y, 2856 m_last_move_x, m_last_move_y,