aboutsummaryrefslogtreecommitdiff
path: root/i3-config-wizard
diff options
context:
space:
mode:
authorOrestis Floros <orestisf1993@gmail.com>2018-08-22 14:51:17 +0300
committerOrestis Floros <orestisf1993@gmail.com>2018-08-22 14:51:17 +0300
commite6202d43f5fc2048b4870203512ec829e0e231fe (patch)
treebac92eb77c7a408dae3d85bb9248bef9f2463ea4 /i3-config-wizard
parent2f3c8b64841340073a283cb42c03fb9df7715ebe (diff)
downloadi3-e6202d43f5fc2048b4870203512ec829e0e231fe.tar.gz
i3-e6202d43f5fc2048b4870203512ec829e0e231fe.zip
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.
Diffstat (limited to 'i3-config-wizard')
-rw-r--r--i3-config-wizard/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/i3-config-wizard/main.c b/i3-config-wizard/main.c
index f3c33034..4a843fae 100644
--- a/i3-config-wizard/main.c
+++ b/i3-config-wizard/main.c
@@ -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;