Skip to content

Commit 42b7d56

Browse files
authored
Merge pull request #806 from fastfetch-cli/dev
Release: v2.10.2
2 parents 3252812 + 2790493 commit 42b7d56

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1+
# 2.10.2
2+
3+
Bugfixes:
4+
* Fix a regression that detect x11 as wayland (#805, WM, Linux)
5+
16
# 2.10.1
27

38
Bugfixes:
4-
* fix build with `-DENABLE_DBUS=OFF`
9+
* Fix build with `-DENABLE_DBUS=OFF` (Linux)
510

611
# 2.10.0
712

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.12.0) # target_link_libraries with OBJECT libs & project homepage url
22

33
project(fastfetch
4-
VERSION 2.10.1
4+
VERSION 2.10.2
55
LANGUAGES C
66
DESCRIPTION "Fast neofetch-like system information tool"
77
HOMEPAGE_URL "https://github.com/fastfetch-cli/fastfetch"

src/detection/displayserver/linux/wayland/wayland.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ void ffdsConnectWayland(FFDisplayServerResult* result)
135135
const char* xdgSessionType = getenv("XDG_SESSION_TYPE");
136136

137137
//If XDG_SESSION_TYPE is set, and doesn't contain "wayland", we are probably not running in a wayland session.
138-
if(xdgSessionType != NULL && ffStrEqualsIgnCase(xdgSessionType, "wayland"))
138+
if(xdgSessionType != NULL && !ffStrEqualsIgnCase(xdgSessionType, "wayland"))
139139
return;
140140

141141
//If XDG_SESSION_TYPE is not set, check if WAYLAND_DISPLAY or WAYLAND_SOCKET is set.

0 commit comments

Comments
 (0)