Skip to content
Commit 4381040d authored by nerdopolis's avatar nerdopolis Committed by Pekka Paalanen
Browse files

compositor-fbdev: detect the first fb device in the seat



This adds a function to detect the first framebuffer device in the
current seat. Instead of hardcoding /dev/fb0, detect the device
with udev, favoring the boot_vga device, and falling back to the
first framebuffer device in the seat if there is none. This is very
similar to what compositor-drm does to find display devices

Reviewed-by: default avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
parent 92a06a96
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment