chore: XWindowScreenSave, use auto where possible
This commit is contained in:
parent
55b48a5db7
commit
f338e5e7a8
1 changed files with 1 additions and 1 deletions
|
|
@ -426,7 +426,7 @@ void XWindowsScreenSaver::clearWatchForXScreenSaver()
|
||||||
{
|
{
|
||||||
// stop watching all windows
|
// stop watching all windows
|
||||||
XWindowsUtil::ErrorLock lock(m_display);
|
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);
|
XSelectInput(m_display, index->first, index->second);
|
||||||
}
|
}
|
||||||
m_watchWindows.clear();
|
m_watchWindows.clear();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue