From: Crystal Kolipe Subject: Re: cwm(1), when closing a window, pass focus to prev in stack To: Walter Alejandro Iglesias Cc: tech@openbsd.org Date: Mon, 22 Jun 2026 10:16:03 -0000 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?