projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c8c9e9
)
only show prints for debug builds
author
Dana Jansens
<danakj@orodu.net>
Wed, 5 Feb 2003 15:53:22 +0000
(15:53 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 5 Feb 2003 15:53:22 +0000
(15:53 +0000)
src/screen.cc
patch
|
blob
|
history
diff --git
a/src/screen.cc
b/src/screen.cc
index
db0cb86
..
9ff1f2b
100644
(file)
--- 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());