Xnest: replace XChangePointerControl() by xcb_change_pointer_control
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
2f2209005e
commit
1ecba263ea
|
@ -24,6 +24,7 @@ is" without express or implied warranty.
|
||||||
#include "mipointer.h"
|
#include "mipointer.h"
|
||||||
|
|
||||||
#include "Xnest.h"
|
#include "Xnest.h"
|
||||||
|
#include "xnest-xcb.h"
|
||||||
|
|
||||||
#include "Display.h"
|
#include "Display.h"
|
||||||
#include "Screen.h"
|
#include "Screen.h"
|
||||||
|
@ -38,8 +39,12 @@ DeviceIntPtr xnestPointerDevice = NULL;
|
||||||
void
|
void
|
||||||
xnestChangePointerControl(DeviceIntPtr pDev, PtrCtrl * ctrl)
|
xnestChangePointerControl(DeviceIntPtr pDev, PtrCtrl * ctrl)
|
||||||
{
|
{
|
||||||
XChangePointerControl(xnestDisplay, TRUE, TRUE,
|
xcb_change_pointer_control(xnestUpstreamInfo.conn,
|
||||||
ctrl->num, ctrl->den, ctrl->threshold);
|
ctrl->num,
|
||||||
|
ctrl->den,
|
||||||
|
ctrl->threshold,
|
||||||
|
TRUE,
|
||||||
|
TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
Loading…
Reference in New Issue