aboutsummaryrefslogtreecommitdiff
path: root/src/Workspace.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-03-23 15:14:45 (GMT)
committerfluxgen <fluxgen>2002-03-23 15:14:45 (GMT)
commit8daa080d11a6bf9e6ed208563e738a02c9eb6cf8 (patch)
tree4d9f68180a4bc0f1574f03b48897233b43791899 /src/Workspace.cc
parente133cf83a332a72ca42be5e223834d4e6aa0a2e8 (diff)
downloadfluxbox_pavel-8daa080d11a6bf9e6ed208563e738a02c9eb6cf8.zip
fluxbox_pavel-8daa080d11a6bf9e6ed208563e738a02c9eb6cf8.tar.bz2
some signed/unsigned stuff
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r--src/Workspace.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc
index 85bd2aa..ff6140d 100644
--- a/src/Workspace.cc
+++ b/src/Workspace.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Workspace.cc,v 1.13 2002/03/19 14:30:43 fluxgen Exp $ 25// $Id: Workspace.cc,v 1.14 2002/03/23 15:14:45 fluxgen Exp $
26 26
27// use GNU extensions 27// use GNU extensions
28#ifndef _GNU_SOURCE 28#ifndef _GNU_SOURCE
@@ -63,7 +63,7 @@ using namespace std;
63using namespace std; 63using namespace std;
64#endif 64#endif
65 65
66Workspace::Workspace(BScreen *scrn, int i): 66Workspace::Workspace(BScreen *scrn, unsigned int i):
67screen(scrn), 67screen(scrn),
68lastfocus(0), 68lastfocus(0),
69name(""), 69name(""),
@@ -87,7 +87,7 @@ Workspace::~Workspace() {
87} 87}
88 88
89 89
90const int Workspace::addWindow(FluxboxWindow *w, Bool place) { 90const int Workspace::addWindow(FluxboxWindow *w, bool place) {
91 if (! w) 91 if (! w)
92 return -1; 92 return -1;
93 93
@@ -100,7 +100,7 @@ const int Workspace::addWindow(FluxboxWindow *w, Bool place) {
100 stackingList.push_front(w); 100 stackingList.push_front(w);
101 windowList.push_back(w); 101 windowList.push_back(w);
102 102
103 clientmenu->insert((const char **) w->getTitle()); 103 clientmenu->insert(w->getTitle());
104 clientmenu->update(); 104 clientmenu->update();
105 105
106 screen->updateNetizenWindowAdd(w->getClientWindow(), id); 106 screen->updateNetizenWindowAdd(w->getClientWindow(), id);
@@ -286,11 +286,11 @@ void Workspace::reconfigure(void) {
286} 286}
287 287
288 288
289FluxboxWindow *Workspace::getWindow(int index) { 289FluxboxWindow *Workspace::getWindow(unsigned int index) {
290 if ((index >= 0) && (index < windowList.size())) 290 if (index < windowList.size())
291 return windowList[index]; 291 return windowList[index];
292 else 292
293 return 0; 293 return 0;
294} 294}
295 295
296 296