summaryrefslogtreecommitdiff
path: root/xkb/xkbtext.c
diff options
context:
space:
mode:
Diffstat (limited to 'xkb/xkbtext.c')
-rw-r--r--xkb/xkbtext.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xkb/xkbtext.c b/xkb/xkbtext.c
index 213dbb7aa..debc2f9c6 100644
--- a/xkb/xkbtext.c
+++ b/xkb/xkbtext.c
@@ -731,8 +731,8 @@ int x,y;
char tbuf[32];
act= &action->ptr;
- x= XkbPtrActionX(act);
- y= XkbPtrActionY(act);
+ x= act->x;
+ y= act->y;
if ((act->flags&XkbSA_MoveAbsoluteX)||(x<0))
sprintf(tbuf,"x=%d",x);
else sprintf(tbuf,"x=+%d",x);