chore: XWindowScreenSave, use auto where possible

This commit is contained in:
sithlord48
2025-04-27 16:32:45 -04:00
committed by Nick Bolton
parent 55b48a5db7
commit f338e5e7a8

View File

@ -426,7 +426,7 @@ void XWindowsScreenSaver::clearWatchForXScreenSaver()
{
// stop watching all windows
XWindowsUtil::ErrorLock lock(m_display);
for (WatchList::iterator index = m_watchWindows.begin(); index != m_watchWindows.end(); ++index) {
for (auto index = m_watchWindows.begin(); index != m_watchWindows.end(); ++index) {
XSelectInput(m_display, index->first, index->second);
}
m_watchWindows.clear();