Add debug mode

When enabled, the result will be redirected to a window, and compton
won't take over the screen.

Makes debugging easier.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-07-07 16:12:17 +01:00
parent 640b4b1c99
commit 0b0d896ffe
7 changed files with 81 additions and 24 deletions

View File

@ -62,6 +62,8 @@ typedef struct options {
// === Debugging ===
bool monitor_repaint;
bool print_diagnostics;
/// Render to a separate window instead of taking over the screen
bool debug_mode;
// === General ===
/// Use the experimental new backends?
bool experimental_backends;