diff --git a/src/core/hyprlock.cpp b/src/core/hyprlock.cpp index 6af108b..4de1d55 100644 --- a/src/core/hyprlock.cpp +++ b/src/core/hyprlock.cpp @@ -8,7 +8,7 @@ #include CHyprlock::CHyprlock() { - m_sWaylandState.display = wl_display_connect("wayland-2"); + m_sWaylandState.display = wl_display_connect(nullptr); if (!m_sWaylandState.display) { Debug::log(CRIT, "Couldn't connect to a wayland compositor"); exit(1);