diff options
Diffstat (limited to 'example/main.c')
-rw-r--r-- | example/main.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/example/main.c b/example/main.c index 27d598e6..1f92bbe7 100644 --- a/example/main.c +++ b/example/main.c @@ -107,14 +107,6 @@ int disable_outputs(void *data) { } int main() { - if (getenv("DISPLAY")) { - fprintf(stderr, "Detected that X is running. Run this in its own virtual terminal.\n"); - return 1; - } else if (getenv("WAYLAND_DISPLAY")) { - fprintf(stderr, "Detected that Wayland is running. Run this in its own virtual terminal.\n"); - return 1; - } - struct state state = { .color = { 1.0, 0.0, 0.0 }, .dec = 0, |