Unverified Commit 56c8d7e0 authored by Zach Dykstra's avatar Zach Dykstra Committed by GitHub

Support multiple displays under wayland (#1596)

parent ac6f6a1c
......@@ -2991,9 +2991,9 @@ get_resolution() {
elif [[ -d /sys/class/drm ]]; then
for dev in /sys/class/drm/*/modes; do
read -r resolution _ < "$dev"
read -r single_resolution _ < "$dev"
[[ $resolution ]] && break
[[ $single_resolution ]] && resolution="${single_resolution}, ${resolution}"
done
fi
;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment