[xmonad] Mouse focus without entering window

Brandon Allbery allbery.b at gmail.com
Sun Jan 31 22:06:14 UTC 2016


On Sun, Jan 31, 2016 at 3:26 PM, Daniel Wagner <dmwit at dmwit.com> wrote:

> You should be able to do this with the `handleEventHook` [1], for which
> the `MotionEvent` [2] is the appropriate event to handle. You should be
> able to use `focus` [3] on the `Window` contained in the event to focus the
> window the mouse is currently over


Isn't this basically takeTopFocus (i.e. ICCCM WM_TAKE_FOCUS)?

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/xmonad/attachments/20160131/84748244/attachment.html>


More information about the xmonad mailing list