all repos — fluxbox @ 4d253670394537b30bc37a28fce2c9bf645c60d9

custom fork of the fluxbox windowmanager

some debug msg should be in ifdef
fluxgen fluxgen
commit

4d253670394537b30bc37a28fce2c9bf645c60d9

parent

b479fdc7dfb6bc61ebcd0d7134aa46e59ac235ec

1 files changed, 3 insertions(+), 2 deletions(-)

jump to
M src/fluxbox.ccsrc/fluxbox.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: fluxbox.cc,v 1.228 2004/01/21 13:33:50 fluxgen Exp $ +// $Id: fluxbox.cc,v 1.229 2004/01/21 15:30:27 fluxgen Exp $ #include "fluxbox.hh"

@@ -1131,6 +1131,7 @@ * Handles XClientMessageEvent

*/ void Fluxbox::handleClientMessage(XClientMessageEvent &ce) { +#ifdef DEBUG char * atom = 0; if (ce.message_type) atom = XGetAtomName(FbTk::App::instance()->display(), ce.message_type);

@@ -1139,7 +1140,7 @@ cerr<<__FILE__<<"("<<__LINE__<<"): ClientMessage. data.l[0]=0x"<<hex<<ce.data.l[0]<<

" message_type=0x"<<ce.message_type<<dec<<" = \""<<atom<<"\""<<endl; if (ce.message_type && atom) XFree((char *) atom); - +#endif // DEBUG if (ce.format != 32)