aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCalvin Lee <pounce@integraldoma.in>2026-02-03 10:26:50 +0000
committerKenny Levinsen <kl@kl.wtf>2026-02-03 14:16:11 +0100
commit992d201512a26b49f070f22b32e988d2bd51105e (patch)
tree514578e62b2336c95010311d5ae12c80e2ae636b /include
parentb081eba05d463cace54eebc1e2f73b23f470949a (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);