mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-26 23:25:08 +00:00
(!1654) Xnest: replace XChangePointerControl() by xcb_change_pointer_control
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -27,6 +27,7 @@ is" without express or implied warranty.
|
||||
#include "mipointer.h"
|
||||
|
||||
#include "Xnest.h"
|
||||
#include "xnest-xcb.h"
|
||||
|
||||
#include "Display.h"
|
||||
#include "Screen.h"
|
||||
@@ -41,8 +42,12 @@ DeviceIntPtr xnestPointerDevice = NULL;
|
||||
void
|
||||
xnestChangePointerControl(DeviceIntPtr pDev, PtrCtrl * ctrl)
|
||||
{
|
||||
XChangePointerControl(xnestDisplay, TRUE, TRUE,
|
||||
ctrl->num, ctrl->den, ctrl->threshold);
|
||||
xcb_change_pointer_control(xnestUpstreamInfo.conn,
|
||||
ctrl->num,
|
||||
ctrl->den,
|
||||
ctrl->threshold,
|
||||
TRUE,
|
||||
TRUE);
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
Reference in New Issue
Block a user