Only output SetClientVersion message if verbosity > 1, like other

extensions do
This commit is contained in:
Matthieu Herrb 2006-03-05 16:43:10 +00:00
parent d921173833
commit 448997ebcd
2 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,7 @@
2006-03-04 Matthieu Herrb <matthieu.herrb@laas.fr>
* hw/xfree86/dixmods/extmod/xf86misc.c
Only output SetClientVersion message if verbosity > 1, like other
extensions do
* configure.ac:
define SYS_LIBS to hold system dependant libraries that may needed.
* GL/glx/indirect_dispatch_swap.c:

View File

@ -504,7 +504,8 @@ ProcXF86MiscSetClientVersion(ClientPtr client)
return BadAlloc;
MPRIV(client) = pPriv;
}
ErrorF("SetClientVersion: %i %i\n",stuff->major,stuff->minor);
if (xf86GetVerbosity() > 1)
ErrorF("SetClientVersion: %i %i\n",stuff->major,stuff->minor);
pPriv->major = stuff->major;
pPriv->minor = stuff->minor;