Re: [Qemu-devel] [PATCH] monitor: Fix 'mouse_button': do not move mouse

2014-02-25 Thread Eugene Shatokhin
Hi, On 07/03/2013 08:08 PM, Andreas Färber wrote: Am 03.07.2013 14:50, schrieb Eugene Shatokhin: If absolute positions are used, 'mouse_button' command moved mouse pointer to (0, 0) before generating a mouse button event. The event was therefore generated at incorrect position. This problem

Re: [Qemu-devel] [PATCH] monitor: Fix 'mouse_button': do not move mouse

2014-02-25 Thread Gerd Hoffmann
On Di, 2014-02-25 at 16:21 +0400, Eugene Shatokhin wrote: Hi, On 07/03/2013 08:08 PM, Andreas Färber wrote: Am 03.07.2013 14:50, schrieb Eugene Shatokhin: If absolute positions are used, 'mouse_button' command moved mouse pointer to (0, 0) before generating a mouse button event. The

Re: [Qemu-devel] [PATCH] monitor: Fix 'mouse_button': do not move mouse

2014-02-25 Thread Eugene Shatokhin
On 02/25/2014 04:43 PM, Gerd Hoffmann wrote: On Di, 2014-02-25 at 16:21 +0400, Eugene Shatokhin wrote: Hi, On 07/03/2013 08:08 PM, Andreas Färber wrote: Am 03.07.2013 14:50, schrieb Eugene Shatokhin: If absolute positions are used, 'mouse_button' command moved mouse pointer to (0, 0) before

[Qemu-devel] [PATCH] monitor: Fix 'mouse_button': do not move mouse

2013-07-03 Thread Eugene Shatokhin
If absolute positions are used, 'mouse_button' command moved mouse pointer to (0, 0) before generating a mouse button event. The event was therefore generated at incorrect position. This problem is now fixed. Signed-off-by: Eugene Shatokhin eugene.shatok...@rosalab.ru --- monitor.c | 14

Re: [Qemu-devel] [PATCH] monitor: Fix 'mouse_button': do not move mouse

2013-07-03 Thread Andreas Färber
Am 03.07.2013 14:50, schrieb Eugene Shatokhin: If absolute positions are used, 'mouse_button' command moved mouse pointer to (0, 0) before generating a mouse button event. The event was therefore generated at incorrect position. This problem is now fixed. Signed-off-by: Eugene Shatokhin

Re: [Qemu-devel] [PATCH] monitor: Fix 'mouse_button': do not move mouse

2013-07-03 Thread Eugene Shatokhin
Ah, I see it now. Thanks for the link, I should have found that thread earlier. Indeed, there can be several mice and keeping the position in global variables is a bad idea here. Will test your patches when you update them. Our automated testing system at ROSA Laboratory is quite similar to