diff options
author | Anton Khirnov <wyskas@gmail.com> | 2009-04-27 08:26:54 +0200 |
---|---|---|
committer | Anton Khirnov <wyskas@gmail.com> | 2009-04-27 08:30:12 +0200 |
commit | a44afaaea5e69fd652c7d58b8da213abbb1f7dce (patch) | |
tree | bb3b471dc06a3d725da453955414a76f24641477 | |
parent | 6ab12c16fc6c43d3cce5b5b1e3b787ccd0d1712d (diff) |
Prevent windows from stealing focus.
-rw-r--r-- | functions.config | 10 | ||||
-rw-r--r-- | styles.config | 3 |
2 files changed, 12 insertions, 1 deletions
diff --git a/functions.config b/functions.config index 02083df..74cc699 100644 --- a/functions.config +++ b/functions.config @@ -100,3 +100,13 @@ AddToFunc RandomWall DestroyFunc MPDControl AddToFunc MPDControl + I Exec /bin/echo -e "$0\nclose"|nc localhost 6600 + +############################ +#Don't steal focus +DestroyFunc UrgencyFunc +AddToFunc UrgencyFunc ++ I Nop + +DestroyFunc EWMHActivateWindowFunc +AddToFunc EWMHActivateWindowFunc ++ I Nop diff --git a/styles.config b/styles.config index 1f72f78..c679b1e 100644 --- a/styles.config +++ b/styles.config @@ -33,6 +33,7 @@ Style * EdgeMoveDelay $[edgeres] Style * EdgeMoveResistance 20 20 Style * Colorset 1 Style * HilightColorset 2 +Style * SkipMapping ################## @@ -55,7 +56,7 @@ Style "FvwmConsole" GrabFocus Style "urxvt" GrabFocus Style "nephilim.py" StartsOnPage 0 5 Style "Xchat" StartsOnPage 0 1 -Style "Iceweasel" StartsOnPage 0 0, SkipMapping +Style "Iceweasel" StartsOnPage 0 0 Style "psi" StartsOnPage 0 4 Style "MPlayer" Sticky |