compositor: refactor class member vars (#10141)
This commit is contained in:
parent
3577a6be31
commit
241a4935a2
68 changed files with 751 additions and 756 deletions
|
|
@ -130,7 +130,7 @@ APICALL bool HyprlandAPI::removeWindowDecoration(HANDLE handle, IHyprWindowDecor
|
|||
if (!PLUGIN)
|
||||
return false;
|
||||
|
||||
for (auto const& w : g_pCompositor->m_vWindows) {
|
||||
for (auto const& w : g_pCompositor->m_windows) {
|
||||
for (auto const& d : w->m_dWindowDecorations) {
|
||||
if (d.get() == pDecoration) {
|
||||
w->removeWindowDeco(pDecoration);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue