Add test cases for --border

This commit is contained in:
Deiz 2015-04-02 16:46:42 -04:00
parent 601043cbf3
commit 547157d19b
1 changed files with 4 additions and 0 deletions

View File

@ -47,6 +47,8 @@ mode "meh" {
bindsym --release Mod1+x exec foo bindsym --release Mod1+x exec foo
bindsym --whole-window button3 nop bindsym --whole-window button3 nop
bindsym --release --whole-window button3 nop bindsym --release --whole-window button3 nop
bindsym --border button3 nop
bindsym --release --border button3 nop
} }
EOT EOT
@ -57,6 +59,8 @@ cfg_mode_binding(bindcode, Mod1, 44, (null), (null), (null), resize shrink)
cfg_mode_binding(bindsym, Mod1, x, --release, (null), (null), exec foo) cfg_mode_binding(bindsym, Mod1, x, --release, (null), (null), exec foo)
cfg_mode_binding(bindsym, (null), button3, (null), (null), --whole-window, nop) cfg_mode_binding(bindsym, (null), button3, (null), (null), --whole-window, nop)
cfg_mode_binding(bindsym, (null), button3, --release, (null), --whole-window, nop) cfg_mode_binding(bindsym, (null), button3, --release, (null), --whole-window, nop)
cfg_mode_binding(bindsym, (null), button3, (null), --border, (null), nop)
cfg_mode_binding(bindsym, (null), button3, --release, --border, (null), nop)
EOT EOT
is(parser_calls($config), is(parser_calls($config),