summaryrefslogtreecommitdiff
path: root/src/managers/ProtocolManager.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2025-06-19 14:58:03 +0200
committerVaxry <vaxry@vaxry.net>2025-06-19 14:58:03 +0200
commit86b5e3bfbc99237bb28a253fbef49b9c1b7bc3a3 (patch)
treee00816cff0ced55460b75a0316023e6eeaf3724d /src/managers/ProtocolManager.cpp
parent54ccf9c6b37a8aadde7b8e1fc737668f4966db61 (diff)
config: nuke explicit_sync settings
were not used anymore, explicit is on by default
Diffstat (limited to 'src/managers/ProtocolManager.cpp')
-rw-r--r--src/managers/ProtocolManager.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/managers/ProtocolManager.cpp b/src/managers/ProtocolManager.cpp
index 3427bf3e..f6b94592 100644
--- a/src/managers/ProtocolManager.cpp
+++ b/src/managers/ProtocolManager.cpp
@@ -100,10 +100,9 @@ void CProtocolManager::onMonitorModeChange(PHLMONITOR pMonitor) {
CProtocolManager::CProtocolManager() {
- static const auto PENABLEEXPLICIT = CConfigValue<Hyprlang::INT>("render:explicit_sync");
- static const auto PENABLECM = CConfigValue<Hyprlang::INT>("render:cm_enabled");
- static const auto PENABLEXXCM = CConfigValue<Hyprlang::INT>("experimental:xx_color_management_v4");
- static const auto PDEBUGCM = CConfigValue<Hyprlang::INT>("debug:full_cm_proto");
+ static const auto PENABLECM = CConfigValue<Hyprlang::INT>("render:cm_enabled");
+ static const auto PENABLEXXCM = CConfigValue<Hyprlang::INT>("experimental:xx_color_management_v4");
+ static const auto PDEBUGCM = CConfigValue<Hyprlang::INT>("debug:full_cm_proto");
// Outputs are a bit dumb, we have to agree.
static auto P = g_pHookSystem->hookDynamic("monitorAdded", [this](void* self, SCallbackInfo& info, std::any param) {
@@ -209,7 +208,7 @@ CProtocolManager::CProtocolManager() {
else
lease.reset();
- if (*PENABLEEXPLICIT && !PROTO::sync)
+ if (!PROTO::sync)
PROTO::sync = makeUnique<CDRMSyncobjProtocol>(&wp_linux_drm_syncobj_manager_v1_interface, 1, "DRMSyncobj");
}