Back to index

unity  6.0.0
Functions
X11_mock.h File Reference
#include <X11/Xlib.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Cursor XCreateFontCursorMock (Display *display, unsigned int shape)
int XFreeCursorMock (Display *display, Cursor 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 *  display,
unsigned int  shape 
)

Definition at line 23 of file X11_mock.cpp.

                                                          {
    return 1;
}
int XFreeCursorMock ( Display *  display,
Cursor  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;
}