Apply compatible changes from clang-format 6.0.1
These are the changes that clang-format 6.0.1 makes to the codebase that clang-format-3.8 doesn't change back. Useful for those that use a more recent version of clang-format in their local machines.
This commit is contained in:
@ -951,13 +951,12 @@ int main(int argc, char *argv[]) {
|
||||
/* Strip off the highest bit (set if the event is generated) */
|
||||
int type = (event->response_type & 0x7F);
|
||||
|
||||
/* TODO: handle mappingnotify */
|
||||
switch (type) {
|
||||
case XCB_KEY_PRESS:
|
||||
handle_key_press(NULL, conn, (xcb_key_press_event_t *)event);
|
||||
break;
|
||||
|
||||
/* TODO: handle mappingnotify */
|
||||
|
||||
case XCB_BUTTON_PRESS:
|
||||
handle_button_press((xcb_button_press_event_t *)event);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user