Re: proposal for a smarter behavior for raising windows on mouse click



Hi,

The simplest approach may be to just punt to the toolkit. If the window
has _NET_WM_TOOLKIT_RAISES set, then the toolkit has to XRaiseWindow()
on click. Toolkit should be able to sort out whether it's appropriate to
do so.

The main barrier to this is that whether to raise on click is
configurable with some window managers :-P so the toolkit would need to
share that config option.

Also, as with WM_TAKE_FOCUS, a hung application becomes more annoying to
deal with as you lose window management functionality.

Havoc





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]