diff options
author | runge <runge> | 2006-08-10 21:51:23 +0000 |
---|---|---|
committer | runge <runge> | 2006-08-10 21:51:23 +0000 |
commit | 816d7e06ad813ba24b0f68d67c53d35b66cc86d8 (patch) | |
tree | e4520d064587db1a477fbf463c4372ae8b51e239 /x11vnc/x11vnc.c | |
parent | 0bc50a9da9c63e6ab86c219ce88c3e92eafb9eb5 (diff) | |
download | libtdevnc-816d7e06ad813ba24b0f68d67c53d35b66cc86d8.tar.gz libtdevnc-816d7e06ad813ba24b0f68d67c53d35b66cc86d8.zip |
x11vnc: first pass at touchscreens via uinput.
Diffstat (limited to 'x11vnc/x11vnc.c')
-rw-r--r-- | x11vnc/x11vnc.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/x11vnc/x11vnc.c b/x11vnc/x11vnc.c index b31f585..ce8b352 100644 --- a/x11vnc/x11vnc.c +++ b/x11vnc/x11vnc.c @@ -3234,8 +3234,6 @@ int main(int argc, char* argv[]) { rfb_desktop_name = strdup(argv_vnc[argc_vnc-1]); } - initialize_pipeinput(); - /* * Create the XImage corresponding to the display framebuffer. */ @@ -3243,6 +3241,12 @@ int main(int argc, char* argv[]) { fb0 = initialize_xdisplay_fb(); /* + * In some cases (UINPUT touchscreens) we need the dpy_x dpy_y + * to initialize pipeinput. So we do it after fb is created. + */ + initialize_pipeinput(); + + /* * n.b. we do not have to X_LOCK any X11 calls until watch_loop() * is called since we are single-threaded until then. */ |