-
Adrián Pérez de Castro authored
The is_desktop_pantheon() function checks the XDG_CURRENT_DESKTOP environment variable. Add a NULL-check in it to avoid crashing when the variable is not defined, which is the case with a number of DEs, plain window managers, and standalone Wayland compositors.