core: remove debug display name

This commit is contained in:
Vaxry 2024-02-18 23:17:54 +00:00
parent 77e4c6fa15
commit e957c74814

View file

@ -8,7 +8,7 @@
#include <cuchar>
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);