diff options
author | Henrik Kinnunen <fluxgen@fluxbox.org> | 2010-03-17 15:35:07 (GMT) |
---|---|---|
committer | Henrik Kinnunen <fluxgen@fluxbox.org> | 2010-03-17 15:35:07 (GMT) |
commit | ce0b41c8472135898a553d6d649d852beb80cffb (patch) | |
tree | 8cca2f6d8795c19c86ab70fa22e9c724e5f4453b /src/Keys.cc | |
parent | 7a86dad21b1d50b35857496c165e4e85cc0d2bd3 (diff) | |
download | fluxbox_pavel-ce0b41c8472135898a553d6d649d852beb80cffb.zip fluxbox_pavel-ce0b41c8472135898a553d6d649d852beb80cffb.tar.bz2 |
Changed #ifdef DEBUG ... cerr << to using fbdbg.
This will reduce the number of #ifdef DEBUG for
simple debug messages.
include "Debug.hh" and use fbdbg instead of cerr for debug.
Diffstat (limited to 'src/Keys.cc')
-rw-r--r-- | src/Keys.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Keys.cc b/src/Keys.cc index 935d54b..277dbe6 100644 --- a/src/Keys.cc +++ b/src/Keys.cc | |||
@@ -25,6 +25,7 @@ | |||
25 | #include "Screen.hh" | 25 | #include "Screen.hh" |
26 | #include "WinClient.hh" | 26 | #include "WinClient.hh" |
27 | #include "WindowCmd.hh" | 27 | #include "WindowCmd.hh" |
28 | #include "Debug.hh" | ||
28 | 29 | ||
29 | #include "FbTk/EventManager.hh" | 30 | #include "FbTk/EventManager.hh" |
30 | #include "FbTk/StringUtil.hh" | 31 | #include "FbTk/StringUtil.hh" |
@@ -343,9 +344,8 @@ void Keys::reload() { | |||
343 | * Load critical key/mouse bindings for when there are fatal errors reading the keyFile. | 344 | * Load critical key/mouse bindings for when there are fatal errors reading the keyFile. |
344 | */ | 345 | */ |
345 | void Keys::loadDefaults() { | 346 | void Keys::loadDefaults() { |
346 | #ifdef DEBUG | 347 | fbdbg<<"Loading default key bindings"<<endl; |
347 | cerr<<"Loading default key bindings"<<endl; | 348 | |
348 | #endif | ||
349 | deleteTree(); | 349 | deleteTree(); |
350 | m_map["default:"] = new t_key(0,0,0,0,false); | 350 | m_map["default:"] = new t_key(0,0,0,0,false); |
351 | addBinding("OnDesktop Mouse1 :HideMenus"); | 351 | addBinding("OnDesktop Mouse1 :HideMenus"); |