]> Dogcows Code - chaz/openbox/commitdiff
only show prints for debug builds
authorDana Jansens <danakj@orodu.net>
Wed, 5 Feb 2003 15:53:22 +0000 (15:53 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 5 Feb 2003 15:53:22 +0000 (15:53 +0000)
src/screen.cc

index db0cb862919c91860aeef2311a09fffef055cae3..9ff1f2b7a14414ce24adbcb86d943edf8512f2b9 100644 (file)
@@ -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());
This page took 0.022716 seconds and 4 git commands to generate.