all repos — fluxbox @ 74eb584a312aba21b21eccb6c49ade1571aa3740

custom fork of the fluxbox windowmanager

reenabled raising window if window was moved by mouse by 0 pixels
mathias mathias
commit

74eb584a312aba21b21eccb6c49ade1571aa3740

parent

b504021145c9d79759c3809c4001ee2acdf4a5aa

2 files changed, 12 insertions(+), 0 deletions(-)

jump to
M ChangeLogChangeLog

@@ -1,5 +1,8 @@

(Format: Year/Month/Day) Changes for 1.0.1: +*07/10/24: + * Reenabled raising window if window was moved by mouse by 0 pixels (Mathias) + Window.cc *07/10/23: * Adding/removing workspaces wasn't updating menu (Mark) Screen.cc
M src/Window.ccsrc/Window.cc

@@ -3159,6 +3159,15 @@ Fluxbox *fluxbox = Fluxbox::instance();

fluxbox->maskWindowEvents(0, 0); + // if no real movement happend -> raise if clickrais is disabled + 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,