Back to index

unity  6.0.0
Functions
X11_mock.cpp File Reference
#include <X11/Xlib.h>

Go to the source code of this file.

Functions

Cursor XCreateFontCursorMock (Display *, unsigned int)
int XFreeCursorMock (Display *, Cursor)
int XSyncMock (Display *display, Bool discard)
int XWarpPointerMock (Display *display, Window src_w, Window dest_w, int src_x, int src_y, unsigned int src_width, unsigned int src_height, int dest_x, int dest_y)

Function Documentation

Cursor XCreateFontCursorMock ( Display *  ,
unsigned int   
)

Definition at line 23 of file X11_mock.cpp.

                                                          {
    return 1;
}
int XFreeCursorMock ( Display *  ,
Cursor   
)

Definition at line 27 of file X11_mock.cpp.

                                           {
    return 1;
}
int XSyncMock ( Display *  display,
Bool  discard 
)

Definition at line 31 of file X11_mock.cpp.

                                              {
  return 1;
}
int XWarpPointerMock ( Display *  display,
Window  src_w,
Window  dest_w,
int  src_x,
int  src_y,
unsigned int  src_width,
unsigned int  src_height,
int  dest_x,
int  dest_y 
)

Definition at line 35 of file X11_mock.cpp.

                                             {
  return 1;
}