stumpwm-devel
[Top][All Lists]
Advanced

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

Re: [STUMP] "Focus follows mouse click" behaviour


From: vasily postnicov
Subject: Re: [STUMP] "Focus follows mouse click" behaviour
Date: Wed, 19 Jun 2013 18:34:49 +0400




2013/6/19 Sam Kleinman <address@hidden>

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
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/stumpwm-devel


--
Sam Kleinman (tychoish):
 - address@hidden
 - tychoish <http://tychoish.com/>
 "don't get it right, get it written" -- james thurber

Oh, thanks! It's already implemented. Must google a bit more next time :)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]