mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	
				Sometimes wlr_session_find_gpus will encounter an error. This is different from finding zero GPUs. On error, wlr_session_find_gpus already returns -1. However, this is casted to size_t, so callers uncorrectly assume this is a success. Instead, make wlr_session_find_gpus return a ssize_t and allow callers to handle the error accordingly.  | 
			||
|---|---|---|
| .. | ||
| direct-freebsd.c | ||
| direct-ipc.c | ||
| direct.c | ||
| libseat.c | ||
| logind.c | ||
| meson.build | ||
| noop.c | ||
| session.c | ||