]> git.sur5r.net Git - i3/i3/commit
Add abstraction for running a binding
authorTony Crisci <tony@dubstepdish.com>
Sat, 31 May 2014 15:00:02 +0000 (11:00 -0400)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 1 Jun 2014 09:55:01 +0000 (11:55 +0200)
commit7482a0f642cbbdb4c09e96c3776df8fc21770153
treefa64c0bdea08a18b1c02ab9e7441f00e4638e281
parent7b06e2010509657bcdf4a54c76a5857506cb5d11
Add abstraction for running a binding

Add run_binding function to bindings.h.

> Runs the given binding and handles parse errors. Returns a
> CommandResult for running the binding's command. Caller should render
> tree if needs_tree_render is true. Free with command_result_free().
include/bindings.h
include/key_press.h
src/bindings.c
src/key_press.c