Re: Broken enter-exit focus behavior in 1.5.3

Christopher Roy Bratusek writes:
> Am Mon, 30 Nov 2009 21:11:47 -0800 schrieb sand blarg net:
> > I have found that the following suits my purposes:
> > 
> >   (require 'sawfish.wm.focus)
> >   (define (focus-enter-refocus-fun w mode)
> >     (focus-revert))
> >   (add-hook 'enter-notify-hook focus-enter-refocus-fun t)
> Indeed. Thanks for catching this one. This should go in, but perhaps
> there's a "better" way, than just hooking focus-revert (which should be
> already called by the focus-mode) -- Timo?

Actually, that doesn't work with the way cycle-windows-and-warp
is implemented.  This version is better:

  (define (focus-enter-refocus-fun w mode)
    (when (eq mode 'ungrab)


Derek Upham
sand blarg net

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