aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2023-08-01 18:08:53 +0200
committervaxerski <[email protected]>2023-08-01 18:08:53 +0200
commit51cda87fe47efec25265b3b9f6bebf9a0882aa08 (patch)
treeb88aff4f6ff926f5a9e39909b24fd08070c6346e
parentda0c74cdf038692377eb77fbfc57067c633467c0 (diff)
downloadHyprland-51cda87fe47efec25265b3b9f6bebf9a0882aa08.tar.gz
Hyprland-51cda87fe47efec25265b3b9f6bebf9a0882aa08.zip
hyprctl: rerender on cursor_zoom_factor dynamic calls
-rw-r--r--src/debug/HyprCtl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp
index 7135aaac..6ad13ce4 100644
--- a/src/debug/HyprCtl.cpp
+++ b/src/debug/HyprCtl.cpp
@@ -739,7 +739,7 @@ std::string dispatchKeyword(std::string in) {
}
// decorations will probably need a repaint
- if (COMMAND.contains("decoration:") || COMMAND.contains("border") || COMMAND == "workspace") {
+ if (COMMAND.contains("decoration:") || COMMAND.contains("border") || COMMAND == "workspace" || COMMAND.contains("cursor_zoom_factor")) {
for (auto& m : g_pCompositor->m_vMonitors) {
g_pHyprRenderer->damageMonitor(m.get());
g_pLayoutManager->getCurrentLayout()->recalculateMonitor(m->ID);