Re: Warp-Pointer on newly opened windows
- From: Daniel Pfeiffer <occitan t-online de>
- To: Christopher Bratusek <nano-master gmx de>, sawfish-list gnome org
- Subject: Re: Warp-Pointer on newly opened windows
- Date: Tue, 17 Jun 2008 00:50:02 +0200
la 14.06.2008 21:16 Christopher Bratusek skribis:
I'm using the warp-pointer fuction:
; Warp the pointer to newly un-iconfied windows
( setq warp-to-window-enabled t )
( setq warp-to-window-offset '(50 . 50) )
by default that only works for uniconfied windows, but I found the
following code on merlin.org, that makes warp-pointer work when cycling
through windows:
; Warp the pointer also when cycling through windows
( require 'sawfish.wm.commands.x-cycle )
(eval-in
`(let
((old-raise-window* raise-window*))
(define (raise-window* win)
(warp-cursor-to-window win)
(old-raise-window* win)))
'sawfish.wm.commands.x-cycle)
So, does anybody have an Idea, how to enable the warp-pointer function
for newly opened windows, too?
Actually this should be the default with focus follows mouse, because
the new window will have the focus, while the mouse may be in another
window. Even clicking in that other window doesn't give it the focus
unless you move out and in. For the least confusing, and a bug really...
coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn
Daniel Pfeiffer
--
lerne / learn / apprends / lär dig / ucz się Esperanto:
http://lernu.net / http://ikurso.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]