Add --diagnostics option

It will cause compton to print out some rudimentary diagnostics.

Also small improvements of the meson.build.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2018-11-03 22:15:38 +00:00
parent e142993bb5
commit 332a873729
8 changed files with 72 additions and 12 deletions

8
src/diagnostic.h Normal file
View File

@@ -0,0 +1,8 @@
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) 2018 Yuxuan Shui <yshuiv7@gmail.com>
#pragma once
typedef struct session session_t;
void print_diagnostics(session_t *);