aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index bf5a625..f26caee 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -423,12 +423,14 @@ BScreen::BScreen(FbTk::ResourceManager &rm,
423 423
424 _FB_USES_NLS; 424 _FB_USES_NLS;
425 425
426#ifdef DEBUG
426 fprintf(stderr, _FB_CONSOLETEXT(Screen, ManagingScreen, 427 fprintf(stderr, _FB_CONSOLETEXT(Screen, ManagingScreen,
427 "BScreen::BScreen: managing screen %d " 428 "BScreen::BScreen: managing screen %d "
428 "using visual 0x%lx, depth %d\n", 429 "using visual 0x%lx, depth %d\n",
429 "informational message saying screen number (%d), visual (%lx), and colour depth (%d)").c_str(), 430 "informational message saying screen number (%d), visual (%lx), and colour depth (%d)").c_str(),
430 screenNumber(), XVisualIDFromVisual(rootWindow().visual()), 431 screenNumber(), XVisualIDFromVisual(rootWindow().visual()),
431 rootWindow().depth()); 432 rootWindow().depth());
433#endif // DEBUG
432 434
433 FbTk::EventManager *evm = FbTk::EventManager::instance(); 435 FbTk::EventManager *evm = FbTk::EventManager::instance();
434 evm->add(*this, rootWindow()); 436 evm->add(*this, rootWindow());