diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-11-06 12:46:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-06 12:46:29 +0100 |
commit | 2bf482e90f04dd7e402b37cb1d6c4d7fa958887c (patch) | |
tree | 8ad9cb3f24eee5f76e06f250b9c5884e7238b5d2 /examples/idle.c | |
parent | d7b010024a4e46acb1eb5c54c1ce31dd816fb995 (diff) | |
parent | a8bc8c65ce63abbe15ceeaf0460b11265cdf5c29 (diff) |
Merge pull request #1357 from emersion/xopen-source
Use _POSIX_C_SOURCE, use shm_open
Diffstat (limited to 'examples/idle.c')
-rw-r--r-- | examples/idle.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/idle.c b/examples/idle.c index 3e1565ca..a6a4f5c0 100644 --- a/examples/idle.c +++ b/examples/idle.c @@ -1,12 +1,12 @@ #include <getopt.h> #include <pthread.h> +#include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <wayland-client-protocol.h> #include <wayland-client.h> -#include <wlr/util/log.h> #include "idle-client-protocol.h" static struct org_kde_kwin_idle *idle_manager = NULL; @@ -109,8 +109,6 @@ void *main_loop(void *data) { } int main(int argc, char *argv[]) { - wlr_log_init(WLR_DEBUG, NULL); - if (parse_args(argc, argv) != 0) { return -1; } |