Skip to content
Commit d81a471d authored by Daniel van Vugt's avatar Daniel van Vugt Committed by Ray Strode
Browse files

session: ensure wayland paths get searched even with --disable-user-display-server

get_system_session_dirs is function that says which directories to
search for session desktop files.  The returned directories may
be xsession dirs, wayland-session dirs, or both, depending on
configuration.

A bug in this function means an unused NULL sentinal value from the
xsession list of directories is getting copied into the middle of
the output list, when --disable-user-display-server is passed to
configure.

This commit corrects the bug, by dropping the unused sentinal value.

Launchpad-Bug: 1704050

https://bugzilla.gnome.org/show_bug.cgi?id=784891
parent 80733cb2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment