diff options
author | Simon Ser <contact@emersion.fr> | 2023-12-12 15:25:10 +0100 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2023-12-12 10:04:14 -0500 |
commit | ff07eab85b5c6b728ad3cc99d02e9f2ae8b9854f (patch) | |
tree | fc4aa760eafe3a14c37fd11d8743c3b54e31de9c /include | |
parent | b81c4da494ed8fac861fb11dab56a9c68d7b91aa (diff) |
Detect Nvidia proprietary driver via drmGetVersion()
This is less punishing for users with the Nvidia driver loaded but
not used by Sway (e.g. for CUDA).
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/server.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/server.h b/include/sway/server.h index 1b3166ce..bf195706 100644 --- a/include/sway/server.h +++ b/include/sway/server.h @@ -163,6 +163,8 @@ struct sway_debug { extern struct sway_debug debug; +extern bool allow_unsupported_gpu; + bool server_init(struct sway_server *server); void server_fini(struct sway_server *server); bool server_start(struct sway_server *server); |