Skip to content

Commit 2b35f6e

Browse files
authored
Merge pull request #1534 from hovancik/fix/dnd
Typo in ENV name
2 parents 8144590 + ecdf48b commit 2b35f6e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

77
## [Unreleased]
8+
### Fixed
9+
- Linux DND detection
10+
811
## [1.17.1] - 2024-12-25
912
### Fixed
1013
- Ubuntu Unity DND detection

app/utils/dndManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class DndManager extends EventEmitter {
4444
}
4545

4646
async _isDndEnabledLinux () {
47-
const de = process.env.ORIGINAL_ORIGINAL_XDG_CURRENT_DESKTOP.toLowerCase()
47+
const de = process.env.ORIGINAL_XDG_CURRENT_DESKTOP.toLowerCase()
4848
// https://specifications.freedesktop.org/mime-apps-spec/latest/file.html
4949
// https://specifications.freedesktop.org/menu-spec/latest/onlyshowin-registry.html
5050

0 commit comments

Comments
 (0)