mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-01 04:31:57 -07:00
xwayland: remove spaces from output names
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user