Update mouse cursor position in x0vncserver

This is necessary to make sure the server side rendered cursor works
properly.
diff --git a/unix/x0vncserver/x0vncserver.cxx b/unix/x0vncserver/x0vncserver.cxx
index b844a53..a60a727 100644
--- a/unix/x0vncserver/x0vncserver.cxx
+++ b/unix/x0vncserver/x0vncserver.cxx
@@ -276,6 +276,14 @@
   inline void poll() {
     if (pb and not haveDamage)
       pb->poll(server);
+    if (running) {
+      Window root, child;
+      int x, y, wx, wy;
+      unsigned int mask;
+      XQueryPointer(dpy, DefaultRootWindow(dpy), &root, &child,
+                    &x, &y, &wx, &wy, &mask);
+      server->setCursorPos(rfb::Point(x, y));
+    }
   }
 
   // -=- SDesktop interface