summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/screen.cc2
1 files changed, 2 insertions, 0 deletions
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());