dont use hardcoded Mod1Mask anymore
mathias mathias
2 files changed,
8 insertions(+),
1 deletions(-)
M
src/Window.cc
→
src/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();