mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -05:00
examples: only link clients to wlroots if necessary
This commit is contained in:
parent
2d0c5ec78e
commit
a8bc8c65ce
3 changed files with 10 additions and 13 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue