mirror of
https://github.com/hyprwm/hyprlock.git
synced 2025-05-12 21:30:37 +01:00
renderer: properly treat monitor desc:
prefix (#765)
This commit is contained in:
parent
fae1c4f6fe
commit
0c5fd97d61
1 changed files with 1 additions and 1 deletions
|
@ -406,7 +406,7 @@ std::vector<SP<IWidget>>& CRenderer::getOrCreateWidgetsFor(const CSessionLockSur
|
||||||
|
|
||||||
const auto POUTPUT = surf.m_outputRef.lock();
|
const auto POUTPUT = surf.m_outputRef.lock();
|
||||||
for (auto& c : CWIDGETS) {
|
for (auto& c : CWIDGETS) {
|
||||||
if (!c.monitor.empty() && c.monitor != POUTPUT->stringPort && !POUTPUT->stringDesc.starts_with(c.monitor) && !POUTPUT->stringDesc.starts_with("desc:" + c.monitor))
|
if (!c.monitor.empty() && c.monitor != POUTPUT->stringPort && !POUTPUT->stringDesc.starts_with(c.monitor) && !("desc:" + POUTPUT->stringDesc).starts_with(c.monitor))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// by type
|
// by type
|
||||||
|
|
Loading…
Reference in a new issue