diff options
Diffstat (limited to 'daemon/gdm-server.c')
-rw-r--r-- | daemon/gdm-server.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/daemon/gdm-server.c b/daemon/gdm-server.c index 53d78410..6d2d6cd5 100644 --- a/daemon/gdm-server.c +++ b/daemon/gdm-server.c @@ -165,6 +165,14 @@ _gdm_server_query_ck_for_display_device (GdmServer *server) char * gdm_server_get_display_device (GdmServer *server) { +#ifdef WITH_SYSTEMD + /* systemd finds the display device out on its own based on the display */ + return NULL; +#endif + +#ifndef WITH_CONSOLE_KIT + return NULL; +#endif if (server->priv->display_device == NULL) { server->priv->display_device = _gdm_server_query_ck_for_display_device (server); |