On Thu, 2017-11-02 at 17:07 +, Jindřich Makovička wrote:
> Hi,
>
> this patch fixes the exact case you mentioned. Currently, with
> surface size
> smaller than the window, the pointer is confined to the top left
> corner
> when using the absolute mode (-usbdevice tablet).
Tracked down. Seems
Hi,
this patch fixes the exact case you mentioned. Currently, with surface size
smaller than the window, the pointer is confined to the top left corner
when using the absolute mode (-usbdevice tablet).
On Wed, Nov 1, 2017 at 11:43 AM Gerd Hoffmann wrote:
> Why?
>
> Also I think this breaks the
Why?
Also I think this breaks the pointer in case window size doesn't match
surface size.
cheers,
Gerd
---
ui/sdl2.c | 28 ++--
1 file changed, 2 insertions(+), 26 deletions(-)
diff --git a/ui/sdl2.c b/ui/sdl2.c
index fa54353430..092eab37dc 100644
--- a/ui/sdl2.c
+++ b/ui/sdl2.c
@@ -276,32 +276,8 @@ static void sdl_send_mouse_event(struct sdl2_console
*scon, int dx, int dy