.fvwm/config
changeset 562 cc83e7be2649
parent 561 4736307a8217
child 563 07178e1d3fc0
--- a/.fvwm/config	Sat Sep 29 21:14:57 2012 +0300
+++ b/.fvwm/config	Mon Oct 01 00:52:41 2012 +0300
@@ -199,6 +199,10 @@
 # Programs can focus themselves.
 Style * FPFocusByProgram
 
+# New windows/transients grab the focus when created closing a window/transient releases
+# focus to the previously focused window.
+Style * FPGrabFocus, FPGrabFocusTransient, FPReleaseFocus, FPReleaseFocusTransient
+
 DestroyFunc MyFuncFocusWindow
 AddToFunc MyFuncFocusWindow
 + I FlipFocus
@@ -217,7 +221,8 @@
 *FvwmEvent-StartMaximised: add_window MyFuncStartMaximised
 
 AddToFunc StartFunction I Module FvwmEvent
-AddToFunc StartFunction I FvwmEvent FvwmEvent-NewWindow
+# TODO: have problem with Emacs ediff frame.
+# AddToFunc StartFunction I FvwmEvent FvwmEvent-NewWindow
 AddToFunc StartFunction I FvwmEvent FvwmEvent-StartMaximised
 
 # Start on screen with pointer.