From 0c409f4e6a2f3e67c2fd6a8722585fee73076567 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Fri, 18 Jan 2002 01:35:27 +0000 Subject: indent --- src/Workspace.cc | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/src/Workspace.cc b/src/Workspace.cc index 676c907..8862263 100644 --- a/src/Workspace.cc +++ b/src/Workspace.cc @@ -310,13 +310,13 @@ void Workspace::setName(char *new_name) { } else { name = new char[128]; sprintf(name, I18n::instance()-> - getMessage( + getMessage( #ifdef NLS - WorkspaceSet, WorkspaceDefaultNameFormat, + WorkspaceSet, WorkspaceDefaultNameFormat, #else // !NLS - 0, 0, + 0, 0, #endif // NLS - "Workspace %d"), id + 1); + "Workspace %d"), id + 1); } screen->updateWorkspaceNamesAtom(); @@ -459,30 +459,30 @@ void Workspace::placeWindow(FluxboxWindow *win) { } if ((toolbar_x < test_x + win_w && - toolbar_x + toolbar_w > test_x && - toolbar_y < test_y + win_h && - toolbar_y + toolbar_h > test_y) + toolbar_x + toolbar_w > test_x && + toolbar_y < test_y + win_h && + toolbar_y + toolbar_h > test_y) #ifdef SLIT - || + || (slit_x < test_x + win_w && - slit_x + slit_w > test_x && - slit_y < test_y + win_h && - slit_y + slit_h > test_y) + slit_x + slit_w > test_x && + slit_y < test_y + win_h && + slit_y + slit_h > test_y) #endif // SLIT - ) - placed = False; + ) + placed = False; - if (placed) { - place_x = test_x; - place_y = test_y; + if (placed) { + place_x = test_x; + place_y = test_y; - break; - } + break; + } - test_y += change_y; - } + test_y += change_y; + } - test_x += change_x; + test_x += change_x; } break; } @@ -490,7 +490,7 @@ void Workspace::placeWindow(FluxboxWindow *win) { if (! placed) { if (((unsigned) cascade_x > (screen->getWidth() / 2)) || - ((unsigned) cascade_y > (screen->getHeight() / 2))) + ((unsigned) cascade_y > (screen->getHeight() / 2))) cascade_x = cascade_y = 32; place_x = cascade_x; -- cgit v0.11.2