Re: cwm(1), when closing a window, pass focus to prev in stack

Crystal Kolipe <[email protected]>
Newsgroups gmane.os.openbsd.tech
Message-ID <[email protected]>
On Mon, Jun 22, 2026 at 09:49:42AM +0200, Walter Alejandro Iglesias wrote:
> This is a ping of a proposal I made last year.
> 
> Current behaviour: when you close a window, whatever other window the
> pointer lands on gets the focus.

This is actually quite useful for anybody who is controlling the window system
without a pointing device, (I.E. just using keyboard hotkeys).

> Behavior proposed: when you close a window, the pointer warps (passing
> the focus) to the previous window in the stack.  Conveniently, raise it
> first, otherwise if it's behind another window the latter will get the
> focus instead.

This seems to be heavily biased towards your preferred way of working.

There are plenty of situations where automatically raising a completely
unrelated window is going to break the user's workflow and require additional
steps shuffling other windows to accomplish the task in hand.

Why not just keep this as a local patch, or at least make it a configurable
option if it absolutely must go in?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.