Add a --border flag to enable mouse binds to trigger on border click
This commit is contained in:
@ -300,6 +300,8 @@ state FONT:
|
||||
state BINDING:
|
||||
release = '--release'
|
||||
->
|
||||
border = '--border'
|
||||
->
|
||||
whole_window = '--whole-window'
|
||||
->
|
||||
modifiers = 'Mod1', 'Mod2', 'Mod3', 'Mod4', 'Mod5', 'Shift', 'Control', 'Ctrl', 'Mode_switch', '$mod'
|
||||
@ -312,10 +314,12 @@ state BINDING:
|
||||
state BINDCOMMAND:
|
||||
release = '--release'
|
||||
->
|
||||
border = '--border'
|
||||
->
|
||||
whole_window = '--whole-window'
|
||||
->
|
||||
command = string
|
||||
-> call cfg_binding($bindtype, $modifiers, $key, $release, $whole_window, $command)
|
||||
-> call cfg_binding($bindtype, $modifiers, $key, $release, $border, $whole_window, $command)
|
||||
|
||||
################################################################################
|
||||
# Mode configuration
|
||||
@ -349,6 +353,8 @@ state MODE_IGNORE_LINE:
|
||||
state MODE_BINDING:
|
||||
release = '--release'
|
||||
->
|
||||
border = '--border'
|
||||
->
|
||||
whole_window = '--whole-window'
|
||||
->
|
||||
modifiers = 'Mod1', 'Mod2', 'Mod3', 'Mod4', 'Mod5', 'Shift', 'Control', 'Ctrl', 'Mode_switch', '$mod'
|
||||
@ -361,10 +367,12 @@ state MODE_BINDING:
|
||||
state MODE_BINDCOMMAND:
|
||||
release = '--release'
|
||||
->
|
||||
border = '--border'
|
||||
->
|
||||
whole_window = '--whole-window'
|
||||
->
|
||||
command = string
|
||||
-> call cfg_mode_binding($bindtype, $modifiers, $key, $release, $whole_window, $command); MODE
|
||||
-> call cfg_mode_binding($bindtype, $modifiers, $key, $release, $border, $whole_window, $command); MODE
|
||||
|
||||
################################################################################
|
||||
# Bar configuration (i3bar)
|
||||
|
Reference in New Issue
Block a user