all repos — fluxbox @ adddf014bd80d5ea7595fc1e8df233a857b8d90f

custom fork of the fluxbox windowmanager

dont use hardcoded Mod1Mask anymore
mathias mathias
commit

adddf014bd80d5ea7595fc1e8df233a857b8d90f

parent

270782c8a57cd16658d4891ab2cc310bc9ad1aad

2 files changed, 8 insertions(+), 1 deletions(-)

jump to
M ChangeLogChangeLog

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

(Format: Year/Month/Day) Changes for 1.0.0: +*07/08/27: + * Fix hardcoded Mod1, use ModKey() now (Mathias) + Window.cc *07/08/20: * Fix some focus issues with moving windows between workspaces (Mark) FocusControl.cc
M src/Window.ccsrc/Window.cc

@@ -2673,9 +2673,13 @@ }

void FluxboxWindow::buttonReleaseEvent(XButtonEvent &re) { - if ((re.button == 1) && (re.state & Mod1Mask) && !screen().clickRaises()) + if ((re.button == 1) && (re.state & Fluxbox::instance()->getModKey()) + && !screen().clickRaises()) { + if (!isMoving()) raise(); + + } if (isMoving()) stopMoving();