aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2026-02-03 10:26:50 +0000
committerFurkan Sahin <furkan-dev@proton.me>2026-02-03 10:26:50 +0000
commit75daf4d0917f1bc9f1cd40f47cbbb50a4ac15099 (patch)
tree514578e62b2336c95010311d5ae12c80e2ae636b /include
parent629788a998b00c613dfe1d3756fa02d63d886574 (diff)
sway: change unsupported GPU message to swaynag
This commit shows a swaynag message when an unsupported GPU is detected which must be acknowledged by users. It also adds an environment variable (`SWAY_UNSUPPORTED_GPU`) which may be used instead of the `--unsupported-gpu` argument. The `static` storage class for flag variables in main has also been removed, as this should have no effect on the program. Resolves: #8999
Diffstat (limited to 'include')
-rw-r--r--include/sway/server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/server.h b/include/sway/server.h
index f50d48f0..978f05d0 100644
--- a/include/sway/server.h
+++ b/include/sway/server.h
@@ -160,7 +160,7 @@ struct sway_debug {
extern struct sway_debug debug;
-extern bool allow_unsupported_gpu;
+extern bool unsupported_gpu_detected;
void sway_terminate(int exit_code);