i3/src
Tony Crisci 5fc1b5d02d Refactor binding accessor
Change the primary binding accessor to `get_binding_from_xcb_event`.

This function gets a binding from a generic xcb event of type KeyPress,
KeyRelease, ButtonPress, or ButtonRelease by determining the input type
(keyboard or mouse), the modifiers pressed from the filtered event
`state`, managing the proper fall back in case mode switch is enabled,
and finally querying the bindings for a binding that matches the event.

The logic of querying keyboard bindings is not intended to be altered by
this change.

The general accessor has been slightly modified to work with mouse
bindings and made private because it is only used in bindings.c
2014-05-03 15:34:33 +02:00
..
assignments.c Fix clang -Wextra except -Wunused-parameter. 2014-01-02 22:15:33 +01:00
bindings.c Refactor binding accessor 2014-05-03 15:34:33 +02:00
click.c Delegate click handling to dock clients 2014-04-30 09:31:42 +02:00
commands_parser.c Fix clang -Wextra except -Wunused-parameter. 2014-01-02 22:15:33 +01:00
commands.c improve error messages for i3-internal workspace names 2014-05-03 15:02:51 +02:00
con.c Dont include dock clients in ewmh lists 2014-05-03 15:08:31 +02:00
config_directives.c Abstract binding configuration to bindings.[ch] 2014-01-28 08:21:21 +01:00
config_parser.c Move check_for_duplicate_bindings to bindings.[ch] 2014-04-26 12:10:33 +02:00
config.c Feature: send complete config on barconfig_update 2014-04-30 09:33:29 +02:00
debug.c use I3__FILE__ for DLOG, leave __FILE__ as is 2012-08-12 12:19:47 +02:00
display_version.c use designated initializers for yajl_callbacks struct 2014-01-06 22:12:14 +01:00
ewmh.c Maintain the _NET_CLIENT_LIST property 2014-04-15 17:44:25 +02:00
fake_outputs.c Fix clang -Wextra except -Wunused-parameter. 2014-01-02 22:15:33 +01:00
floating.c Improve drag_pointer error handling 2014-02-13 21:06:32 +01:00
handlers.c Send IPC window events for focus and title changes 2014-02-26 22:24:19 +01:00
i3.mk Fix i3.mk to not rebuild test.* all the time 2014-04-23 19:34:45 +02:00
ipc.c Feature: send complete config on barconfig_update 2014-04-30 09:33:29 +02:00
key_press.c Refactor binding accessor 2014-05-03 15:34:33 +02:00
load_layout.c layout restoring: append at the nearest split container (or workspace) (Thanks chris) 2014-04-18 20:30:27 +02:00
log.c Merge branch 'master' into next 2014-01-23 22:20:16 +01:00
main.c Set EWMH desktop properties on startup. 2014-02-08 20:38:16 +01:00
Makefile Add stub Makefiles to allow subdir make calls 2012-07-22 19:57:48 +02:00
manage.c Bugfix: clear wm_size_hints if they are not set 2014-04-09 22:14:50 +02:00
match.c display swallows criteria in placeholder windows 2013-12-22 21:52:49 +01:00
move.c Merge branch 'master' into next 2014-01-13 23:36:47 +01:00
output.c fix two more crashes when disabling an empty output 2013-01-25 14:53:15 +01:00
randr.c Fix clang -Wextra except -Wunused-parameter. 2014-01-02 22:15:33 +01:00
regex.c use I3__FILE__ for DLOG, leave __FILE__ as is 2012-08-12 12:19:47 +02:00
render.c Revert "raise fullscreen windows on top of all other X11 windows" 2013-08-27 20:21:11 +02:00
resize.c render resize windows retina-correctly 2014-05-02 17:11:48 +02:00
restore_layout.c Don’t overwrite existing windows with placeholder windows 2014-04-18 20:36:56 +02:00
scratchpad.c Do not resize/reposition floating containers when moving them to scratchpad 2013-09-30 22:54:35 +02:00
sd-daemon.c implement "socket activation": passing IPC sockets to i3 2011-08-10 15:55:27 +02:00
sighandler.c spelling fix: s/succesfully/successfully/ 2012-09-20 10:55:03 +02:00
startup.c Reset SIGIPE handler before executing a command 2014-04-26 12:09:45 +02:00
tree.c layout restoring: append at the nearest split container (or workspace) (Thanks chris) 2014-04-18 20:30:27 +02:00
util.c Fix 'gcc -Wextra -Wno-unused-parameter'. 2014-01-04 20:43:30 +01:00
window.c Respect Motif hint for window decorations 2014-01-18 16:25:37 +01:00
workspace.c improve error messages for i3-internal workspace names 2014-05-03 15:02:51 +02:00
x.c Dont include dock clients in ewmh lists 2014-05-03 15:08:31 +02:00
xcb.c Send last event timestamp with WM_TAKE_FOCUS msg 2014-03-31 23:28:33 +02:00
xcursor.c fix warnings: unsigned check for >= 0 is always true 2014-02-08 21:03:26 +01:00
xinerama.c Fix clang -Wextra except -Wunused-parameter. 2014-01-02 22:15:33 +01:00