summaryrefslogtreecommitdiff
path: root/src/openbox.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-05-14 22:15:01 +0000
committerDana Jansens <danakj@orodu.net>2002-05-14 22:15:01 +0000
commitf75083669f65aadd6b32f8ed25880ca362296a2f (patch)
treee8d89e13cad90e909a254589f25322aa6099ea83 /src/openbox.cc
parent527864614bbbadcfd5f454e7dd1781d343881e7d (diff)
new version of bsetroot ported from blackbox cvs
Diffstat (limited to 'src/openbox.cc')
-rw-r--r--src/openbox.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openbox.cc b/src/openbox.cc
index 8ef1e07c..50d17f31 100644
--- a/src/openbox.cc
+++ b/src/openbox.cc
@@ -196,8 +196,8 @@ Openbox::Openbox(int m_argc, char **m_argv, char *dpy_name, char *rc)
openbox_pid = XInternAtom(getXDisplay(), "_BLACKBOX_PID", False);
#endif // HAVE_GETPID
- for (int i = 0; i < getNumberOfScreens(); i++) {
- BScreen *screen = new BScreen(*this, i, config);
+ for (unsigned int s = 0; s < getNumberOfScreens(); s++) {
+ BScreen *screen = new BScreen(*this, s, config);
if (! screen->isScreenManaged()) {
delete screen;