summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-08-21 14:03:54 +1000
committerThomas Hellstrom <thellstrom@vmware.com>2012-11-23 10:17:56 +0100
commit393880d2e6fe7f744e6c701a4fde6116a7278325 (patch)
tree16a19473e71bcbe32adbc336692d515d4c0b1657
parentdba73cebb527bb36a3d17d67b1e8e1892852b240 (diff)
Use sigsafe logging in ReadInput path
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
-rw-r--r--src/vmmouse.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/vmmouse.c b/src/vmmouse.c
index 590144f..d841771 100644
--- a/src/vmmouse.c
+++ b/src/vmmouse.c
@@ -73,6 +73,10 @@
#include "exevents.h"
#endif
+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 18
+#define LogMessageVerbSigSafe xf86MsgVerb
+#endif
+
#include "xisb.h"
#include "mipointer.h"
@@ -1063,7 +1067,7 @@ VMMouseReadInput(InputInfoPtr pInfo)
*/
VMMouseClient_RequestAbsolute();
mPriv->absoluteRequested = TRUE;
- xf86Msg(X_INFO, "VMWARE(0): vmmouse enable absolute mode\n");
+ LogMessageVerbSigSafe(X_INFO, -1, "VMWARE(0): vmmouse enable absolute mode\n");
}
/*
@@ -1130,7 +1134,7 @@ GetVMMouseMotionEvent(InputInfoPtr pInfo){
VMMouseClient_Disable();
VMMouseClient_Enable();
VMMouseClient_RequestAbsolute();
- xf86Msg(X_INFO, "VMWARE(0): re-requesting absolute mode after reset\n");
+ LogMessageVerbSigSafe(X_INFO, -1, "VMWARE(0): re-requesting absolute mode after reset\n");
break;
}