mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-07 22:26:00 +01:00
xdgoutput: don't send all details in .get
This commit is contained in:
parent
ebc5fed9b2
commit
fff118fa76
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ void CXDGOutputProtocol::onManagerGetXDGOutput(wl_client* client, wl_resource* r
|
||||||
if (XDGVER >= ZXDG_OUTPUT_V1_DESCRIPTION_SINCE_VERSION && PMONITOR->output->description)
|
if (XDGVER >= ZXDG_OUTPUT_V1_DESCRIPTION_SINCE_VERSION && PMONITOR->output->description)
|
||||||
zxdg_output_v1_send_description(pXDGOutput->resource->resource(), PMONITOR->output->description);
|
zxdg_output_v1_send_description(pXDGOutput->resource->resource(), PMONITOR->output->description);
|
||||||
|
|
||||||
updateAllOutputs();
|
updateOutputDetails(pXDGOutput);
|
||||||
|
|
||||||
const auto OUTPUTVER = wl_resource_get_version(outputResource);
|
const auto OUTPUTVER = wl_resource_get_version(outputResource);
|
||||||
if (OUTPUTVER >= WL_OUTPUT_DONE_SINCE_VERSION && XDGVER >= OUTPUT_DONE_DEPRECATED_SINCE_VERSION)
|
if (OUTPUTVER >= WL_OUTPUT_DONE_SINCE_VERSION && XDGVER >= OUTPUT_DONE_DEPRECATED_SINCE_VERSION)
|
||||||
|
|
Loading…
Reference in a new issue