From: Dana Jansens Date: Wed, 5 Feb 2003 15:53:22 +0000 (+0000) Subject: only show prints for debug builds X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=f26ebce547f9b42429d6f7189b3eb6246fcc9164;p=chaz%2Fopenbox only show prints for debug builds --- diff --git a/src/screen.cc b/src/screen.cc index db0cb862..9ff1f2b7 100644 --- a/src/screen.cc +++ b/src/screen.cc @@ -64,8 +64,10 @@ Screen::Screen(int screen) _managed = !::running; if (! _managed) return; // was unable to manage the screen +#ifdef DEBUG printf(_("Managing screen %d: visual 0x%lx, depth %d\n"), _number, XVisualIDFromVisual(_info->visual()), _info->depth()); +#endif otk::Property::set(_info->rootWindow(), otk::Property::atoms.openbox_pid, otk::Property::atoms.cardinal, (unsigned long) getpid());