nanogui: Thread: VNC mouse


[<<] [<] Page 1 of 1 [>] [>>]
Subject: VNC mouse
From: "Dave Stuart" ####@####.####
Date: 4 Dec 2005 18:14:57 +0000
Message-Id: <002501c5f8fe$94f39460$2003a8c0@house>

I have a nano-x application with the server linked in and am trying to get VNC working.

The remote screen comes up but the mouse movement is only updating when an event occurs in the application.  Even then, the mouse moves only a small distance toward where it should be.  This works fine if I don't link the application into the server.

Also, the buttons from the remote don't seem to get to the nano-x application.

I have delved into the code and it looks like this mouse motion is handled in drivers/vncserver.c or possibly nanox/srv*.

Could anybody point me in the right direction to find out where the mouse position events come in from the remote and are handled by nano-x?

thanks

dave
Subject: Re: [nanogui] VNC mouse
From: "Greg Haerr" ####@####.####
Date: 5 Dec 2005 01:01:17 +0000
Message-Id: <06e601c5f937$6f6cdc90$6401a8c0@gregnewport>

> I have a nano-x application with the server linked in and am trying to get
VNC working.
The remote screen comes up but the mouse movement is only updating when an
event occurs in the application.  Even then, the mouse moves only a small
distance toward where it should be.  This works fine if I don't link the
application into the server.

Since this works fine in the normal client/server case, this is likely an
issue
with multi-tasking the application with the nano-X server, which is also
functioning as a VNC server.  Likely, the nano-X client is hanging
in a GrGetNextEventXXX call, and the server isn't running.

> I have delved into the code and it looks like this mouse motion is handled
in drivers/vncserver.c or possibly nanox/srv*.

The drivers/vncserver.c will be handling all mouse/keyboard events
from the remote VNC client, as well as handling the nano-X screen
output, and sending it over.

> Could anybody point me in the right direction to find out where the mouse
position events come in from the remote and are handled by nano-x?

I can't find drivers/vncserver.c.  Where is it, it's not in 0.91 source.

Regards,

Greg

Subject: Re: [nanogui] VNC mouse
From: Yan Seiner ####@####.####
Date: 5 Dec 2005 02:55:49 +0000
Message-Id: <4393ABCE.9000607@seiner.com>

Greg Haerr wrote:

>
>I can't find drivers/vncserver.c.  Where is it, it's not in 0.91 source.
>  
>

Greg:

I think Dave is using my vnc patches, which are against CVS as of a week 
or two ago...

--Yan
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.