]> git.sur5r.net Git - i3/i3/commit
bugfix: copy binding before run
authorTony Crisci <tony@dubstepdish.com>
Mon, 10 Nov 2014 05:04:47 +0000 (00:04 -0500)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 16 Nov 2014 22:36:27 +0000 (23:36 +0100)
commitbb1f857b00e2e6a0fc6bb7d4b768e9f2ae37c730
tree6386c6b2453ec4cd125dff2097fcbea602c665d0
parent012553040974ded6a650218ab5c098738b20dfe4
bugfix: copy binding before run

Copy the binding struct before running it and use this copy to emit the
binding event.

This fixes a crash when the command `reload` is used in a binding when
the binding event is emitted.
include/bindings.h
src/bindings.c
src/config.c
testcases/t/238-regress-reload-bindsym.t [new file with mode: 0644]