Commit d86a80ea authored by Ray Strode's avatar Ray Strode

local-display-factory: fix build with --disable-user-display-server

commit cf8d918f added a call to `lookup_by_session` which
was previously only defined when built GDM was built with

That causes the build to fail with `--disable-user-display-server`.

This commit fixes the build by moving `lookup_by_session` out
of conditionalized code.

Closes #416
parent e8f11816
Pipeline #27974 passed with stage
in 3 minutes and 41 seconds