mirror of
https://gitlab.gnome.org/GNOME/libmks.git
synced 2025-04-14 08:27:16 +00:00
lib: stub out success for various RPCs
This commit is contained in:
parent
56e9997919
commit
35d99a50b1
@ -122,7 +122,9 @@ mks_paintable_listener_update_dmabuf (MksPaintable *self,
|
|||||||
|
|
||||||
g_print ("Update dmabuf\n");
|
g_print ("Update dmabuf\n");
|
||||||
|
|
||||||
return FALSE;
|
mks_qemu_listener_complete_update_dmabuf (listener, invocation);
|
||||||
|
|
||||||
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
@ -153,7 +155,9 @@ mks_paintable_listener_scanout_dmabuf (MksPaintable *self,
|
|||||||
else
|
else
|
||||||
gdk_paintable_invalidate_contents (GDK_PAINTABLE (self));
|
gdk_paintable_invalidate_contents (GDK_PAINTABLE (self));
|
||||||
|
|
||||||
return FALSE;
|
mks_qemu_listener_complete_scanout_dmabuf (listener, invocation, NULL);
|
||||||
|
|
||||||
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
@ -172,6 +176,8 @@ mks_paintable_listener_update (MksPaintable *self,
|
|||||||
g_assert (G_IS_DBUS_METHOD_INVOCATION (invocation));
|
g_assert (G_IS_DBUS_METHOD_INVOCATION (invocation));
|
||||||
g_assert (MKS_QEMU_IS_LISTENER (listener));
|
g_assert (MKS_QEMU_IS_LISTENER (listener));
|
||||||
|
|
||||||
|
gdk_paintable_invalidate_contents (GDK_PAINTABLE (self));
|
||||||
|
|
||||||
g_print ("Update {%d,%d,%d,%d}\n", x, y, width, height);
|
g_print ("Update {%d,%d,%d,%d}\n", x, y, width, height);
|
||||||
mks_qemu_listener_complete_update (listener, invocation);
|
mks_qemu_listener_complete_update (listener, invocation);
|
||||||
|
|
||||||
@ -224,7 +230,9 @@ mks_paintable_listener_cursor_define (MksPaintable *self,
|
|||||||
|
|
||||||
g_print ("Cursor Define\n");
|
g_print ("Cursor Define\n");
|
||||||
|
|
||||||
return FALSE;
|
mks_qemu_listener_complete_cursor_define (listener, invocation);
|
||||||
|
|
||||||
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
@ -241,7 +249,9 @@ mks_paintable_listener_mouse_set (MksPaintable *self,
|
|||||||
|
|
||||||
g_print ("Mouse Set\n");
|
g_print ("Mouse Set\n");
|
||||||
|
|
||||||
return FALSE;
|
mks_qemu_listener_complete_mouse_set (listener, invocation);
|
||||||
|
|
||||||
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
@ -253,9 +263,13 @@ mks_paintable_listener_disable (MksPaintable *self,
|
|||||||
g_assert (G_IS_DBUS_METHOD_INVOCATION (invocation));
|
g_assert (G_IS_DBUS_METHOD_INVOCATION (invocation));
|
||||||
g_assert (MKS_QEMU_IS_LISTENER (listener));
|
g_assert (MKS_QEMU_IS_LISTENER (listener));
|
||||||
|
|
||||||
|
gdk_paintable_invalidate_contents (GDK_PAINTABLE (self));
|
||||||
|
|
||||||
g_print ("Disable\n");
|
g_print ("Disable\n");
|
||||||
|
|
||||||
return FALSE;
|
mks_qemu_listener_complete_disable (listener, invocation);
|
||||||
|
|
||||||
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
|
Loading…
x
Reference in New Issue
Block a user