Klemens Nanni writes:

> This scratch has been itching me for far too long and concerns the
> funcionality behind those cwm(1) default bindings:
>
>            CM-f            Toggle full-screen mode of current window.
>            CM-m            Toggle maximization of current window.
>            CM-equal        Toggle vertical maximization of current window.
>            CMS-equal       Toggle horizontal maximization of current window.
>
> Spawn a window, maximize it in any way, move the cursor to a window
> border that is not on the screen's edge and unmaximize again...
>
> While the window goes back the cursor stays at the screen's edge, i.e.
> focus is lost to the underlaying window.
>
> Moving, resizing, tiling or snapping windows in any way always moves the
> cursor along iff needed, e.g. using
>
>            MS-[hjkl]       Move window by a large amount; see cwmrc(5).
>
> to move a small window from the center to the edge keeps the cursor
> within window borders -- no matter what you do with the keyboard, focus
> stays on that window.
>
> Diff below does the same when toggling maximize/fullscreen.
>
> Feedback? OK?
>

Solves a minor annoyance I have when I launch some apps and maximize or
minimize then. It's minor, but I like this change for my workflow.

OK dv@ on the diff, but I can understand pointer-moving controversy.

Reply via email to