diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-09-01 11:13:48 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-09-01 11:17:15 +1000 |
commit | ebe65a4d481341d38b99e8fb36e66832888bc085 (patch) | |
tree | c88027b2dc43606bc3601a5b18f8e719553299cb /sway/commands/input/drag_lock.c | |
parent | 1f1b1b34d6398d463658317dea06f640482f3caa (diff) |
Fix crash on reload
If sway is reloaded using a bindsym which has multiple commands, it
failed to detect the reload command, didn't create a duplicate of the
binding and would crash because the reload command frees the bindings.
For example:
mode system {
bindsym r reload, mode default
}
In this example, the binding->command is "reload, mode default".
Fixes #2545
Diffstat (limited to 'sway/commands/input/drag_lock.c')
0 files changed, 0 insertions, 0 deletions