From: "Rodolfo García Peñas (kix)" <[email protected]>

The wmessage function returns "enter" in two functions, so is
not possible to know the function that sends the message.

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 db3526f..94e55a8 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);
-- 
1.7.10.4


-- 
To unsubscribe, send mail to [email protected].

Reply via email to