minor cleaning
This commit is contained in:
parent
fc7a24de60
commit
49c13b9e03
1 changed files with 5 additions and 6 deletions
|
@ -22,7 +22,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// 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"
|
#include "Screen.hh"
|
||||||
|
@ -1175,9 +1175,9 @@ FluxboxWindow *BScreen::createWindow(WinClient &client) {
|
||||||
|
|
||||||
Fluxbox::instance()->attachSignals(*win);
|
Fluxbox::instance()->attachSignals(*win);
|
||||||
// winclient actions should have been setup when the WinClient was created
|
// 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();
|
win->show();
|
||||||
}
|
|
||||||
return win;
|
return win;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1237,11 +1237,10 @@ void BScreen::addWorkspaceName(const char *name) {
|
||||||
|
|
||||||
|
|
||||||
string BScreen::getNameOfWorkspace(unsigned int workspace) const {
|
string BScreen::getNameOfWorkspace(unsigned int workspace) const {
|
||||||
if (workspace < m_workspace_names.size()) {
|
if (workspace < m_workspace_names.size())
|
||||||
return m_workspace_names[workspace];
|
return m_workspace_names[workspace];
|
||||||
} else {
|
else
|
||||||
return "";
|
return "";
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void BScreen::reassociateWindow(FluxboxWindow *w, unsigned int wkspc_id,
|
void BScreen::reassociateWindow(FluxboxWindow *w, unsigned int wkspc_id,
|
||||||
|
|
Loading…
Reference in a new issue