Add support for detecting XWayland and other desktop environments
Categories
(Core :: Graphics, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: aosmond, Assigned: aosmond)
References
Details
Attachments
(1 file)
We are sometimes detecting the desktop environment wrong (e.g. DWM, Budgie) as well as not making a distinction between X11 and XWayland. We need to fix these to ensure we ship the MVP where we expect to.
Assignee | ||
Comment 1•4 years ago
|
||
I should also note, that we may need to live with (or go through extreme measures to detect) users who manually change XDG_CURRENT_DESKTOP to be GNOME/etc, despite running another desktop environment. They do this to work around applications that should work with e.g. i3, but disable functionality based on the environment variable. It is hard to get a sense of how many users do this.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
This patch adds detection for XWayland, as that is sometimes an
important distinction when debugging WebRender bugs. For all intents and
purposes, it should work the same as X11, but sometimes does not.
This patch also fixes the desktop environment detection for a few corner
cases. Budgie, in particular, claims to be a GNOME variant, which is not
correct for our purposes, and DWM wasn't detected at all.
Comment 3•4 years ago
|
||
FWIW, https://gitlab.freedesktop.org/xorg/app/xisxwayland checks for the RandR output names starting with XWAYLAND
.
Pushed by aosmond@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a4edf7c080da Improve Linux desktop and window protocol detection. r=nical
Comment 5•4 years ago
|
||
bugherder |
Description
•