I think you're looking for the following: (setf *mouse-focus-policy* :click)
Cheers, sam On Tuesday, June 18 2013, 13:15:58, vasily postnicov wrote: > Hello. I've recently bought second display and configured my machine to > work with two separate X screens. I switch between them using key bindings > to "snext"/"sprev" commands. But I find quite irritating to have one set of > bindings to switch between screens and another to switch between frames. > > I would like to introduce click-following focus behaviour instead. As I can > understand by reading sources I need to call #'frame-raise-window (or maybe > #'pull-window) somewhere in event handler. Maybe I also need to define > proper event mask in *window-events*. It's just my suggestions. > > So my question is this: Can we make focus to follow clicks with low cost > (in time) in stumpwm? Any suggestions? > _______________________________________________ > Stumpwm-devel mailing list > Stumpwm-devel@nongnu.org > https://lists.nongnu.org/mailman/listinfo/stumpwm-devel -- Sam Kleinman (tychoish): - ga...@tychoish.com - tychoish <http://tychoish.com/> "don't get it right, get it written" -- james thurber _______________________________________________ Stumpwm-devel mailing list Stumpwm-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/stumpwm-devel