+}
+
+/* To perform a button press in VNC we have to send the button press
+ * event, wait a short period, then send a button release event (ie.
+ * no buttons pressed).
+ */
+static gboolean
+click_release (gpointer opaque)
+{
+ self_t *self = opaque;
+
+ if (verbose)
+ fprintf (stderr, "click release x=%d y=%d\n",
+ self->command.click.x, self->command.click.y);
+
+ self->callbacks->click (self,
+ self->command.click.x, self->command.click.y,
+ 0);
+ self->callbacks->shutdown (self);