Fixed it!

Have no time for proper patch before i go to work.
in rdpup.c: line 378:
        g_cursor_x = l_bound_by(param1, 0, g_rdpScreen.width - 2);
        g_cursor_y = l_bound_by(param2, 0, g_rdpScreen.height - 2);

Copied those lines to the button events cases!

Thx!

Greetz, Menne


On Wed, Sep 19, 2012 at 2:26 AM, Jay Sorg <jay.s...@gmail.com> wrote:
> On Tue, Sep 18, 2012 at 12:43 PM, Menne Kamminga <kamming...@gmail.com> wrote:
>> I played around with Xrdp + X11rdp for a bit on my debian box.
>> My client rdp device has a touch screen and an extra USB port.
>> Everything works fine when using the a mouse in the extra USB port but
>> it looks like mouse position is always a few steps behind when using
>> the touchscreen...
>>
>> I was checking out rdpinput.c, but i could not figure out the path
>> from my client's signals to X11's events.
>
> All of the mouse and keyboard messages go through rdpup_process_msg in
> rdpup.c then they go to rdpinput.c to various functions.  You should
> be able to see them.  Do you know how to setup a debug environment?
> You can start xrdp, X11rdp and the window manager by hand.  Makes it
> easy to debug.
>
> Jay

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
xrdp-devel mailing list
xrdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xrdp-devel

Reply via email to