Skip to content

Commit

Permalink
Merge pull request #806 from fastfetch-cli/dev
Browse files Browse the repository at this point in the history
Release: v2.10.2
  • Loading branch information
CarterLi authored Apr 23, 2024
2 parents 3252812 + 2790493 commit 42b7d56
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# 2.10.2

Bugfixes:
* Fix a regression that detect x11 as wayland (#805, WM, Linux)

# 2.10.1

Bugfixes:
* fix build with `-DENABLE_DBUS=OFF`
* Fix build with `-DENABLE_DBUS=OFF` (Linux)

# 2.10.0

Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.12.0) # target_link_libraries with OBJECT libs & project homepage url

project(fastfetch
VERSION 2.10.1
VERSION 2.10.2
LANGUAGES C
DESCRIPTION "Fast neofetch-like system information tool"
HOMEPAGE_URL "https://github.com/fastfetch-cli/fastfetch"
Expand Down
2 changes: 1 addition & 1 deletion src/detection/displayserver/linux/wayland/wayland.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ void ffdsConnectWayland(FFDisplayServerResult* result)
const char* xdgSessionType = getenv("XDG_SESSION_TYPE");

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

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

0 comments on commit 42b7d56

Please sign in to comment.