From edf61ca3c01bc30f7cf2b8153a981ddc811f165f Mon Sep 17 00:00:00 2001 From: Squibid Date: Thu, 22 Feb 2024 00:01:44 -0500 Subject: replace stray '\t's with spaces --- wiz.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/wiz.c b/wiz.c index f5a8540..b1a926a 100644 --- a/wiz.c +++ b/wiz.c @@ -75,20 +75,20 @@ static const struct wl_registry_listener reglistener = { static void idling(void *data, struct ext_idle_notification_v1 *notif) { - struct Events *event = data; + struct Events *event = data; run(event->idlecmd); } static void resuming(void *data, struct ext_idle_notification_v1 *notif) { - struct Events *event = data; + struct Events *event = data; run(event->resumecmd); } static const struct ext_idle_notification_v1_listener idlelistener = { - .idled = idling, - .resumed = resuming, + .idled = idling, + .resumed = resuming, }; static void @@ -97,12 +97,12 @@ run(char **cmd) waitpid(-1, NULL, WNOHANG); if (killchild && cpid) kill(cpid, SIGINT); - if ((cpid = fork()) == 0) { - dup2(STDERR_FILENO, STDOUT_FILENO); - setsid(); - execvp(cmd[0], cmd); - die("execvp failed:"); - } + if ((cpid = fork()) == 0) { + dup2(STDERR_FILENO, STDOUT_FILENO); + setsid(); + execvp(cmd[0], cmd); + die("execvp failed:"); + } } int @@ -140,7 +140,7 @@ main(int argc, char *argv[]) } wl_display_roundtrip(display); - while (wl_display_dispatch(display) != -1); + while (wl_display_dispatch(display) != -1); ext_idle_notifier_v1_destroy(notifier); wl_registry_destroy(registry); -- cgit v1.2.1