only show prints for debug builds
This commit is contained in:
parent
7c8c9e998f
commit
f26ebce547
1 changed files with 2 additions and 0 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue