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.
This commit is contained in:
Rodolfo García Peñas (kix) authored and Carlos R. Mafra committed 2012-10-28 10:58:42 +00:00
1 parent 653b099ea2
commit 404e4a7a03
1 file changed
+2 -2
+2 -2
View File
@@ -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);