[WIKI] Focus window without raise.



In reply to the Focus window without raise patch.

First of all the patch is not necessary for most people.

Focus without raise:

( require 'sawfish.wm.ext.auto-raise )
( define-special-variable raise-window-on-focus nil )

Now focusing a window won't raise it, but clicking in it will still do.

There are two different approaches to be able to copy from window a
(which does not get raised by neither focus or click) to window b:

A)

The patch from the wiki-page

B)

( unbind-keys window-keymap "Button1-Click" )

That's it. When gets focus depending on what focus-mode you use, won't
get raised nor focused when copying text from/to it.

I guess that should satisfy all those who wanted the patch above.

Regards,
Chris


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