all repos — fluxbox @ ccf096f771f84d8109f81c24a2af5f9510dda3c5

custom fork of the fluxbox windowmanager

reverted 1fdef35e51, added more info about that feature
Mathias Gumz akira at fluxbox dot org
commit

ccf096f771f84d8109f81c24a2af5f9510dda3c5

parent

3441261346fcee4efb6ba27764384d141b2c4f7e

1 files changed, 14 insertions(+), 0 deletions(-)

jump to
M src/Window.ccsrc/Window.cc

@@ -2851,6 +2851,20 @@ Fluxbox *fluxbox = Fluxbox::instance();

fluxbox->maskWindowEvents(0, 0); + // if user has no clickraise he moves windows without + // changing the stacking order. by not moving the mouse + // but clicking (and holding the modifier for moving) + // the window raises without having to aim for the titlebar/border + // this is a mixture between "mouse raise" and "click raise" + // TODO: state this in the official documentation + if (m_last_move_x - frame().x() == 0 && + m_last_move_y - frame().y() == 0 && + !screen().clickRaises()) { + + raise(); + } + + if (! screen().doOpaqueMove()) { parent().drawRectangle(screen().rootTheme()->opGC(), m_last_move_x, m_last_move_y,