summaryrefslogtreecommitdiff
path: root/src/openbox.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/openbox.cc')
-rw-r--r--src/openbox.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openbox.cc b/src/openbox.cc
index 50d17f31..3a7fb6b9 100644
--- a/src/openbox.cc
+++ b/src/openbox.cc
@@ -196,7 +196,7 @@ Openbox::Openbox(int m_argc, char **m_argv, char *dpy_name, char *rc)
openbox_pid = XInternAtom(getXDisplay(), "_BLACKBOX_PID", False);
#endif // HAVE_GETPID
- for (unsigned int s = 0; s < getNumberOfScreens(); s++) {
+ for (unsigned int s = 0; s < numberOfScreens(); s++) {
BScreen *screen = new BScreen(*this, s, config);
if (! screen->isScreenManaged()) {