xwayland: remove spaces from output names

This commit is contained in:
Vaxry 2023-06-25 13:51:40 +02:00
parent a82559f185
commit 4294456cdc

View file

@ -325,7 +325,7 @@ void CHyprXWaylandManager::setXWaylandScale(std::optional<double> scale) {
if (VERSION >= WL_OUTPUT_SCALE_SINCE_VERSION) if (VERSION >= WL_OUTPUT_SCALE_SINCE_VERSION)
wl_output_send_scale(res, (uint32_t)ceil(scale.value_or(m->scale))); wl_output_send_scale(res, (uint32_t)ceil(scale.value_or(m->scale)));
wl_output_send_name(res, getFormat("HL X11 %d", m->ID).c_str()); wl_output_send_name(res, getFormat("HL-X11-%d", m->ID).c_str());
outputResource = res; outputResource = res;
needsDone = true; needsDone = true;