Compare commits

..

3 Commits

Author SHA1 Message Date
Carter Li 4059bca941 Merge pull request #1323 from fastfetch-cli/dev
Release: v2.27.1
2024-10-06 12:35:51 +08:00
Carter Li bb94ac7832 Release: v2.27.1 2024-10-06 12:31:47 +08:00
Carter Li d5d935a658 DisplayServer (Linux): fix invalid display name detection 2024-10-06 12:27:49 +08:00
3 changed files with 8 additions and 3 deletions
+5
View File
@@ -1,3 +1,8 @@
# 2.27.1
Bugfixes:
* Fix invalid display name detection on GNOME, wayland (Display, Linux)
# 2.27.0 # 2.27.0
Changes: Changes:
+2 -2
View File
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.12.0) # target_link_libraries with OBJECT libs & project homepage url cmake_minimum_required(VERSION 3.12.0) # target_link_libraries with OBJECT libs & project homepage url
project(fastfetch project(fastfetch
VERSION 2.27.0 VERSION 2.27.1
LANGUAGES C LANGUAGES C
DESCRIPTION "Fast neofetch-like system information tool" DESCRIPTION "Fast neofetch-like system information tool"
HOMEPAGE_URL "https://github.com/fastfetch-cli/fastfetch" HOMEPAGE_URL "https://github.com/fastfetch-cli/fastfetch"
@@ -1614,4 +1614,4 @@ fastfetch is a neofetch-like tool for fetching system information and displaying
It is written mostly in C to achieve much better performance.\ It is written mostly in C to achieve much better performance.\
") ")
include(CPack) include(CPack)
@@ -109,7 +109,7 @@ static bool matchDrmConnector(const char* connName, WaylandDisplay* wldata)
uint8_t edidData[512]; uint8_t edidData[512];
ssize_t edidLength = ffReadFileData(path.chars, sizeof(edidData), edidData); ssize_t edidLength = ffReadFileData(path.chars, sizeof(edidData), edidData);
if (edidLength <= 0 || edidLength % 128 != 0) if (edidLength > 0 && edidLength % 128 == 0)
{ {
ffEdidGetName(edidData, &wldata->edidName); ffEdidGetName(edidData, &wldata->edidName);
ffEdidGetHdrCompatible(edidData, (uint32_t) edidLength); ffEdidGetHdrCompatible(edidData, (uint32_t) edidLength);