indentation
This commit is contained in:
parent
93e30412af
commit
37a435f1d7
1 changed files with 25 additions and 25 deletions
|
@ -1006,19 +1006,19 @@ void FluxboxWindow::moveClientRightOf(WinClient &win, WinClient &dest) {
|
|||
&dest);
|
||||
|
||||
// make sure we found them
|
||||
if (it == m_clientlist.end() || new_pos==m_clientlist.end()) {
|
||||
if (it == m_clientlist.end() || new_pos==m_clientlist.end())
|
||||
return;
|
||||
}
|
||||
|
||||
//moving a button to the right of itself results in no change
|
||||
if( new_pos == it) {
|
||||
if (new_pos == it)
|
||||
return;
|
||||
}
|
||||
|
||||
//remove from list
|
||||
m_clientlist.erase(it);
|
||||
//need to insert into the next position
|
||||
new_pos++;
|
||||
//insert on the new place
|
||||
if(new_pos == m_clientlist.end())
|
||||
if (new_pos == m_clientlist.end())
|
||||
m_clientlist.push_back(&win);
|
||||
else
|
||||
m_clientlist.insert(new_pos, &win);
|
||||
|
|
Loading…
Reference in a new issue