added feature request #1084510: when mod1 + leftmouse are clicked on a window and the mouse is not moved, the window is raised at leftmouserelease. i dont think we need an extra option for that since its very unobtrusive but neat to have.
mathias mathias
2 files changed,
9 insertions(+),
0 deletions(-)
M
ChangeLog
→
ChangeLog
@@ -1,5 +1,10 @@
(Format: Year/Month/Day) Changes for 0.9.14: +*05/09/04: + * Added Feature Request #1084510 (Mathias) + When Mod1 + LeftMouse are clicked on a Window and the mouse is not + moved, the window is raised at LeftMouseRelease + src/Window.cc *05/09/03: * Exchanged the hardcoded 3200 pixel limit for texture size to a calculated value based on screen dimensions (Mathias)
M
src/Window.cc
→
src/Window.cc
@@ -2658,6 +2658,10 @@ }
void FluxboxWindow::buttonReleaseEvent(XButtonEvent &re) { + if ((re.button == 1) && (re.state & Mod1Mask) && !screen().clickRaises()) + if (!isMoving()) + raise(); + if (isMoving()) stopMoving(); else if (isResizing())