windowrules: Add novrr dynamic window rule (#11370)
This commit is contained in:
parent
42caff5587
commit
fdf1612f0f
7 changed files with 18 additions and 1 deletions
|
|
@ -3250,6 +3250,9 @@ SDispatchResult CKeybindManager::setProp(std::string args) {
|
|||
g_pCompositor->focusWindow(PLASTWINDOW);
|
||||
}
|
||||
|
||||
if (PROP == "novrr")
|
||||
g_pConfigManager->ensureVRR(PWINDOW->m_monitor.lock());
|
||||
|
||||
for (auto const& m : g_pCompositor->m_monitors)
|
||||
g_pLayoutManager->getCurrentLayout()->recalculateMonitor(m->m_id);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue