Gerd Hoffmann writes:
>>> +static void gd_mouse_set(DisplayChangeListener *dcl,
>>> + int x, int y, int visible)
>>> +{
>>> +/* should warp pointer to x, y here */
>>
>> This is just a matter of doing:
>>
>> gdk_window_get_root_coords(window, x, y, &x_root, &y_ro
>> +static void gd_mouse_set(DisplayChangeListener *dcl,
>> + int x, int y, int visible)
>> +{
>> +/* should warp pointer to x, y here */
>
> This is just a matter of doing:
>
> gdk_window_get_root_coords(window, x, y, &x_root, &y_root);
> gdk_display_warp_poin
Gerd Hoffmann writes:
> Makes gtk ui play nicely with qxl (and vmware_svga)
> as you can actually see your pointer now ;)
>
> Signed-off-by: Gerd Hoffmann
> ---
> ui/gtk.c | 25 +
> 1 file changed, 25 insertions(+)
>
> diff --git a/ui/gtk.c b/ui/gtk.c
> index 7599ff4..
Makes gtk ui play nicely with qxl (and vmware_svga)
as you can actually see your pointer now ;)
Signed-off-by: Gerd Hoffmann
---
ui/gtk.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/ui/gtk.c b/ui/gtk.c
index 7599ff4..512e974 100644
--- a/ui/gtk.c
+++ b/ui/gtk