minor cleaning
fluxgen fluxgen
1 files changed,
5 insertions(+),
6 deletions(-)
jump to
M
src/Screen.cc
→
src/Screen.cc
@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Screen.cc,v 1.248 2003/12/12 18:18:12 fluxgen Exp $ +// $Id: Screen.cc,v 1.249 2003/12/14 01:09:00 fluxgen Exp $ #include "Screen.hh"@@ -1175,9 +1175,9 @@ // WinClient already exists).
Fluxbox::instance()->attachSignals(*win); // winclient actions should have been setup when the WinClient was created - if (win->workspaceNumber() == currentWorkspaceID() || win->isStuck()) { + if (win->workspaceNumber() == currentWorkspaceID() || win->isStuck()) win->show(); - } + return win; }@@ -1237,11 +1237,10 @@ }
string BScreen::getNameOfWorkspace(unsigned int workspace) const { - if (workspace < m_workspace_names.size()) { + if (workspace < m_workspace_names.size()) return m_workspace_names[workspace]; - } else { + else return ""; - } } void BScreen::reassociateWindow(FluxboxWindow *w, unsigned int wkspc_id,