aboutsummaryrefslogtreecommitdiff
path: root/parser-specs
diff options
context:
space:
mode:
authorMichael Stapelberg <stapelberg@users.noreply.github.com>2017-09-27 09:31:39 -0700
committerGitHub <noreply@github.com>2017-09-27 09:31:39 -0700
commit54d61b510da60c2150ebd1d34855c286e2977a25 (patch)
tree7eb3a4489ac6b00e5dc43f669c783944dacb1673 /parser-specs
parent999bebc692af1cc2e0428e2f1f42a0d126285dcb (diff)
parent50edf495aa3971bfb67471c3aaf2eb72e7abd443 (diff)
downloadi3-54d61b510da60c2150ebd1d34855c286e2977a25.tar.gz
i3-54d61b510da60c2150ebd1d34855c286e2977a25.zip
Merge pull request #2953 from CyberShadow/focus_wrapping
Add "focus_wrapping" option
Diffstat (limited to 'parser-specs')
-rw-r--r--parser-specs/config.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/parser-specs/config.spec b/parser-specs/config.spec
index 8c89b3f9..c31567a6 100644
--- a/parser-specs/config.spec
+++ b/parser-specs/config.spec
@@ -36,6 +36,7 @@ state INITIAL:
'no_focus' -> NO_FOCUS
'focus_follows_mouse' -> FOCUS_FOLLOWS_MOUSE
'mouse_warping' -> MOUSE_WARPING
+ 'focus_wrapping' -> FOCUS_WRAPPING
'force_focus_wrapping' -> FORCE_FOCUS_WRAPPING
'force_xinerama', 'force-xinerama' -> FORCE_XINERAMA
'disable_randr15', 'disable-randr15' -> DISABLE_RANDR15
@@ -209,6 +210,11 @@ state MOUSE_WARPING:
value = 'none', 'output'
-> call cfg_mouse_warping($value)
+# focus_wrapping
+state FOCUS_WRAPPING:
+ value = '1', 'yes', 'true', 'on', 'enable', 'active', '0', 'no', 'false', 'off', 'disable', 'inactive', 'force'
+ -> call cfg_focus_wrapping($value)
+
# force_focus_wrapping
state FORCE_FOCUS_WRAPPING:
value = word