Minor tweaks
This commit is contained in:
parent
5f3ee176a1
commit
304b93a4f6
2 changed files with 5 additions and 1 deletions
|
|
@ -713,7 +713,7 @@ CWindow* CCompositor::getNextWindowOnWorkspace(CWindow* pWindow) {
|
|||
int CCompositor::getNextAvailableNamedWorkspace() {
|
||||
int lowest = -1337 + 1;
|
||||
for (auto& w : m_lWorkspaces) {
|
||||
if (w.m_iID < 0 && w.m_iID < lowest)
|
||||
if (w.m_iID < -1 && w.m_iID < lowest)
|
||||
lowest = w.m_iID;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue