After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 780518 - session: update session search dirs when ignore-wayland changes
session: update session search dirs when ignore-wayland changes
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2017-03-25 04:31 UTC by Ray Strode [halfline]
Modified: 2017-03-25 04:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
session: update session search dirs when ignore-wayland changes (9.42 KB, patch)
2017-03-25 04:31 UTC, Ray Strode [halfline]
committed Details | Review

Description Ray Strode [halfline] 2017-03-25 04:31:07 UTC
Right now the first time the session search dirs are requested, they
are computed and cached.  That leaves them stale if the ignore-wayland
flag changes, which breaks fallback mode in some cases.

This commit fix the problem by always computing the session search dirs
in full, with no caching.
Comment 1 Ray Strode [halfline] 2017-03-25 04:31:18 UTC
Created attachment 348683 [details] [review]
session: update session search dirs when ignore-wayland changes
Comment 2 Ray Strode [halfline] 2017-03-25 04:32:09 UTC
Attachment 348683 [details] pushed as a40384b - session: update session search dirs when ignore-wayland changes