Re: Warp-Pointer on newly opened windows
- From: Timo Korvola <Timo Korvola iki fi>
- To: sawfish-list gnome org
- Subject: Re: Warp-Pointer on newly opened windows
- Date: Thu, 19 Jun 2008 23:51:25 +0300
GSR - FR <famrom infernal-iceberg com> writes:
> That is the one I was refering to, as I have been using the code for
> some time already. :]
I just made a bit simpler version and am now trying it out:
(define-focus-mode 'enter-click
(lambda (w action . args)
(case action
((pointer-in warp-if-necessary)
(apply (focus-mode-ref 'enter-only) w action args))
((focus-in focus-out add-window before-mode-change after-mode-change)
(apply (focus-mode-ref 'click) w action args)))))
> The one that does not exist yet is enter-exit + click. ;]
Shouldn't be too hard to write.
--
Timo Korvola <URL:http://www.iki.fi/tkorvola>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]