diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2013-07-10 17:02:23 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-07-10 17:02:23 -0400 |
commit | 1825670bfdcfd19778d6fbde7aeb41d9e25d7fa7 (patch) | |
tree | b7acb03e1193207353c99fad4dd942b21948a3d4 | |
parent | b88435f991afb615260057f50db5ba4cbab676e7 (diff) |
Add connection watch stubs
-rw-r--r-- | src/display.c | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/src/display.c b/src/display.c index bb3a42d..fdd90da 100644 --- a/src/display.c +++ b/src/display.c @@ -179,7 +179,7 @@ XOpenDisplay(const char *display_name) memset(xdisplay, 0, size); display = csx_display((Display *) xdisplay); display->xdisplay = (Display *) xdisplay; - display->display = wl_display_connect(display_name); + display->display = wl_display_connect(NULL); if (!display->display) { free(xdisplay); return NULL; @@ -335,6 +335,26 @@ XConnectionNumber(Display *xdisplay) return wl_display_get_fd(display->display); } +WL_EXPORT Status +XAddConnectionWatch(Display *xdisplay, + XConnectionWatchProc callback, XPointer client_data) +{ + STUB(); + + return 1; +} + +WL_EXPORT void +XRemoveConnectionWatch(Display *xdisplay, + XConnectionWatchProc callback, XPointer client_data) +{ +} + +WL_EXPORT void +XProcessInternalConnection(Display *xdisplay, int fd) +{ +} + WL_EXPORT int XFlush(Display *xdisplay) { |