From 404e4a7a03fc5236d0d41767b89fcdb849c8309d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20=28kix=29?= Date: Tue, 23 Oct 2012 23:58:56 +0200 Subject: [PATCH] Make debug statement print function name The wmessage function returns "enter" in two functions, so is not possible to know the function that sends the message. It is better to replace it with the function name. --- src/wmspec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wmspec.c b/src/wmspec.c index db3526fd..94e55a88 100644 --- a/src/wmspec.c +++ b/src/wmspec.c @@ -532,7 +532,7 @@ void wNETWMInitStuff(WScreen * scr) int i; #ifdef DEBUG_WMSPEC - wmessage("enter"); + wmessage("wNETWMInitStuff"); #endif #ifdef HAVE_XINTERNATOMS @@ -1314,7 +1314,7 @@ Bool wNETWMCheckInitialClientState(WWindow * wwin) Bool hasState = False; #ifdef DEBUG_WMSPEC - wmessage("enter"); + wmessage("wNETWMCheckInitialClientState"); #endif wNETWMShowingDesktop(wwin->screen_ptr, False);