summaryrefslogtreecommitdiffstats
path: root/XMonad/Core.hs
diff options
context:
space:
mode:
authorAdam Vogt <vogt.adam@gmail.com>2012-01-03 02:39:16 +0100
committerAdam Vogt <vogt.adam@gmail.com>2012-01-03 02:39:16 +0100
commitaccd7087733c335b47d1282e4e06307366d2e7e4 (patch)
tree8c88b56d941721fc63520c88caf6e617403b5735 /XMonad/Core.hs
parent7b5a7a40fe9066122c0de2c8455becaa4621b868 (diff)
downloadmetatile-accd7087733c335b47d1282e4e06307366d2e7e4.tar
metatile-accd7087733c335b47d1282e4e06307366d2e7e4.zip
Add configuration option clickToFocus (issue 225)
Ignore-this: 78961f6256e1a1ee25c085e9056af758 To summarize this allows clicks which change the focus to also be passed on to that window. darcs-hash:20120103013916-1499c-1c29f13f0565f4812cf5787caefb6142882f25b5
Diffstat (limited to 'XMonad/Core.hs')
-rw-r--r--XMonad/Core.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/XMonad/Core.hs b/XMonad/Core.hs
index ba7aebf..414437b 100644
--- a/XMonad/Core.hs
+++ b/XMonad/Core.hs
@@ -110,6 +110,7 @@ data XConfig l = XConfig
, logHook :: !(X ()) -- ^ The action to perform when the windows set is changed
, startupHook :: !(X ()) -- ^ The action to perform on startup
, focusFollowsMouse :: !Bool -- ^ Whether window entry events can change focus
+ , clickJustFocuses :: !Bool -- ^ False to make a click which changes focus to be additionally passed to the window
}