mirror of
https://github.com/swaywm/sway.git
synced 2025-10-29 05:40:18 -04:00
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).
This commit is contained in:
parent
b81c4da494
commit
ff07eab85b
4 changed files with 36 additions and 30 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue