mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
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:
committed by
Carlos R. Mafra
parent
653b099ea2
commit
404e4a7a03
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user