Handle button release events

This enables the --release switch on mouse button bindings.
This commit is contained in:
Tony Crisci
2015-02-10 17:46:02 -05:00
parent 3f126c61c4
commit c815fc798d
3 changed files with 15 additions and 7 deletions

View File

@ -1257,6 +1257,7 @@ void handle_event(int type, xcb_generic_event_t *event) {
break;
case XCB_BUTTON_PRESS:
case XCB_BUTTON_RELEASE:
handle_button_press((xcb_button_press_event_t *)event);
break;