From d3976fee8c5efb5b8544366f7b221c5cf08aa40c Mon Sep 17 00:00:00 2001 From: Albert Safin Date: Fri, 21 Feb 2020 02:06:48 +0000 Subject: Code style: fix misaligned and trailing whitespaces --- i3-dump-log/main.c | 4 ++-- include/ipc.h | 6 +++--- include/xcb.h | 4 ++-- libi3/get_exe_path.c | 2 +- src/manage.c | 2 +- testcases/inject_randr1.5.c | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/i3-dump-log/main.c b/i3-dump-log/main.c index 4f15f26f..ba60d396 100644 --- a/i3-dump-log/main.c +++ b/i3-dump-log/main.c @@ -246,8 +246,8 @@ int main(int argc, char *argv[]) { sigaction(SIGINT, &action, NULL); /* Since pthread_cond_wait() expects a mutex, we need to provide one. - * To not lock i3 (that’s bad, mhkay?) we just define one outside of - * the shared memory. */ + * To not lock i3 (that’s bad, mhkay?) we just define one outside of + * the shared memory. */ pthread_mutex_t dummy_mutex = PTHREAD_MUTEX_INITIALIZER; pthread_mutex_lock(&dummy_mutex); while (!interrupted) { diff --git a/include/ipc.h b/include/ipc.h index a608ef56..8ea9fd2e 100644 --- a/include/ipc.h +++ b/include/ipc.h @@ -145,9 +145,9 @@ void ipc_send_barconfig_update_event(Barconfig *barconfig); void ipc_send_binding_event(const char *event_type, Binding *bind); /** - * Set the maximum duration that we allow for a connection with an unwriteable - * socket. - */ + * Set the maximum duration that we allow for a connection with an unwriteable + * socket. + */ void ipc_set_kill_timeout(ev_tstamp new); /** diff --git a/include/xcb.h b/include/xcb.h index 32110c7d..36cc6fb9 100644 --- a/include/xcb.h +++ b/include/xcb.h @@ -49,8 +49,8 @@ #define ROOT_EVENT_MASK (XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT | \ XCB_EVENT_MASK_BUTTON_PRESS | \ XCB_EVENT_MASK_STRUCTURE_NOTIFY | /* when the user adds a screen (e.g. video \ - projector), the root window gets a \ - ConfigureNotify */ \ + * projector), the root window gets a \ + * ConfigureNotify */ \ XCB_EVENT_MASK_POINTER_MOTION | \ XCB_EVENT_MASK_PROPERTY_CHANGE | \ XCB_EVENT_MASK_FOCUS_CHANGE | \ diff --git a/libi3/get_exe_path.c b/libi3/get_exe_path.c index e933f5b6..430fb2e0 100644 --- a/libi3/get_exe_path.c +++ b/libi3/get_exe_path.c @@ -91,7 +91,7 @@ char *get_exe_path(const char *argv0) { free(destpath); sasprintf(&destpath, "%s/%s", component, argv0); /* Of course this is not 100% equivalent to actually exec()ing the - * binary, but meh. */ + * binary, but meh. */ if (access(destpath, X_OK) == 0) { free(path); free(tmp); diff --git a/src/manage.c b/src/manage.c index b223d0f7..726c714c 100644 --- a/src/manage.c +++ b/src/manage.c @@ -29,7 +29,7 @@ static xcb_window_t _match_depth(i3Window *win, Con *con) { } /* - * Remove all match criteria, the first swallowed window wins. + * Remove all match criteria, the first swallowed window wins. * */ static void _remove_matches(Con *con) { diff --git a/testcases/inject_randr1.5.c b/testcases/inject_randr1.5.c index 29b6a33d..819c029b 100644 --- a/testcases/inject_randr1.5.c +++ b/testcases/inject_randr1.5.c @@ -59,7 +59,7 @@ struct connstate { ev_io *clientw; /* serverw is a libev watcher for the connection to X11 which we initiated - * on behalf of the client. */ + * on behalf of the client. */ ev_io *serverw; /* sequence is the client-side sequence number counter. In X11’s wire -- cgit v1.2.3-54-g00ecf