diff options
author | fluxgen <fluxgen> | 2004-01-21 15:30:27 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2004-01-21 15:30:27 (GMT) |
commit | 4d253670394537b30bc37a28fce2c9bf645c60d9 (patch) | |
tree | 7d9340dd5e7d17b5d38000c40db1fb095c2698f2 /src | |
parent | b479fdc7dfb6bc61ebcd0d7134aa46e59ac235ec (diff) | |
download | fluxbox-4d253670394537b30bc37a28fce2c9bf645c60d9.zip fluxbox-4d253670394537b30bc37a28fce2c9bf645c60d9.tar.bz2 |
some debug msg should be in ifdef
Diffstat (limited to 'src')
-rw-r--r-- | src/fluxbox.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 8a12688..c486484 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: fluxbox.cc,v 1.228 2004/01/21 13:33:50 fluxgen Exp $ | 25 | // $Id: fluxbox.cc,v 1.229 2004/01/21 15:30:27 fluxgen Exp $ |
26 | 26 | ||
27 | #include "fluxbox.hh" | 27 | #include "fluxbox.hh" |
28 | 28 | ||
@@ -1131,6 +1131,7 @@ void Fluxbox::handleUnmapNotify(XUnmapEvent &ue) { | |||
1131 | */ | 1131 | */ |
1132 | void Fluxbox::handleClientMessage(XClientMessageEvent &ce) { | 1132 | void Fluxbox::handleClientMessage(XClientMessageEvent &ce) { |
1133 | 1133 | ||
1134 | #ifdef DEBUG | ||
1134 | char * atom = 0; | 1135 | char * atom = 0; |
1135 | if (ce.message_type) | 1136 | if (ce.message_type) |
1136 | atom = XGetAtomName(FbTk::App::instance()->display(), ce.message_type); | 1137 | atom = XGetAtomName(FbTk::App::instance()->display(), ce.message_type); |
@@ -1139,7 +1140,7 @@ void Fluxbox::handleClientMessage(XClientMessageEvent &ce) { | |||
1139 | " message_type=0x"<<ce.message_type<<dec<<" = \""<<atom<<"\""<<endl; | 1140 | " message_type=0x"<<ce.message_type<<dec<<" = \""<<atom<<"\""<<endl; |
1140 | 1141 | ||
1141 | if (ce.message_type && atom) XFree((char *) atom); | 1142 | if (ce.message_type && atom) XFree((char *) atom); |
1142 | 1143 | #endif // DEBUG | |
1143 | 1144 | ||
1144 | 1145 | ||
1145 | if (ce.format != 32) | 1146 | if (ce.format != 32) |