[clfswm-devel] Questions / Feature requests regarding the focus policy

Renaud Casenave-Péré renaud at casenave-pere.fr
Sat Apr 13 05:22:45 UTC 2013


Hi,

On Sat, Apr 06 2013, Philippe Brochard wrote:

> [Sorry for the lag]

[Likewise...]

> I have updated the code to move mouse pointer only when it's really
> needed. Also, the focus change only on mouse move so we can use the
> keyboard to circulate over children.

It's working quite well, thank you!
If I see something wrong, I'll fill a bug report.

> I've also committed your three columns layout (in your name). Many
> thanks!

Oh, thank you, thanks to you I am now officially a free software contributor :)


Regarding my request for a non-stealing focus policy, it seems frame-nw-hook
doesn't get called when an already existing window requires focus so setting
leave-focus-frame-nw-hook didn't help after all.
But I found out that commenting

    (focus-all-children window (find-parent-frame window (find-current-root)))

from

(define-handler main-mode :configure-request (stack-mode window x y width height border-width value-mask)
 ...)

in clfswm.lisp:83

did the trick. Is it a bad idea?

-- 
Renaud Casenave-Péré



More information about the clfswm-devel mailing list