---
libvirt-gconfig/libvirt-gconfig-domain-graphics-sdl.c | 12 ++++++++++++
libvirt-gconfig/libvirt-gconfig-domain-graphics-sdl.h | 2 ++
libvirt-gconfig/libvirt-gconfig.sym | 5 +++++
3 files changed, 19 insertions(+)
diff --git a/libvirt-gconfig/libvirt-gconfig-domain-graphics-sdl.c
b/libvirt-gconfig/libvirt-gconfig-domain-graphics-sdl.c
index 0954b5f..2097383 100644
--- a/libvirt-gconfig/libvirt-gconfig-domain-graphics-sdl.c
+++ b/libvirt-gconfig/libvirt-gconfig-domain-graphics-sdl.c
@@ -94,3 +94,15 @@ void
gvir_config_domain_graphics_sdl_set_display(GVirConfigDomainGraphicsSdl *gr
"display", disp,
NULL);
}
+
+void gvir_config_domain_graphics_sdl_set_fullscreen(GVirConfigDomainGraphicsSdl
*graphics,
+ gboolean fullscreen)
+{
+ g_return_if_fail(GVIR_CONFIG_IS_DOMAIN_GRAPHICS_SDL(graphics));
+
+ gvir_config_object_set_attribute_with_type(GVIR_CONFIG_OBJECT(graphics),
+ "fullscreen",
+ G_TYPE_BOOLEAN,
+ fullscreen,
+ NULL);
+}
diff --git a/libvirt-gconfig/libvirt-gconfig-domain-graphics-sdl.h
b/libvirt-gconfig/libvirt-gconfig-domain-graphics-sdl.h
index 7ff8938..5110f1c 100644
--- a/libvirt-gconfig/libvirt-gconfig-domain-graphics-sdl.h
+++ b/libvirt-gconfig/libvirt-gconfig-domain-graphics-sdl.h
@@ -65,6 +65,8 @@ void
gvir_config_domain_graphics_sdl_set_xauthority(GVirConfigDomainGraphicsSdl
const gchar *path);
void gvir_config_domain_graphics_sdl_set_display(GVirConfigDomainGraphicsSdl *graphics,
const gchar *disp);
+void gvir_config_domain_graphics_sdl_set_fullscreen(GVirConfigDomainGraphicsSdl
*graphics,
+ gboolean fullscreen);
G_END_DECLS
diff --git a/libvirt-gconfig/libvirt-gconfig.sym b/libvirt-gconfig/libvirt-gconfig.sym
index a1b2cc1..ccda4c0 100644
--- a/libvirt-gconfig/libvirt-gconfig.sym
+++ b/libvirt-gconfig/libvirt-gconfig.sym
@@ -512,4 +512,9 @@ LIBVIRT_GCONFIG_0.1.6 {
gvir_config_domain_graphics_spice_image_compression_get_type;
} LIBVIRT_GCONFIG_0.1.5;
+LIBVIRT_GCONFIG_0.1.7 {
+ global:
+ gvir_config_domain_graphics_sdl_set_fullscreen;
+} LIBVIRT_GCONFIG_0.1.6;
+
# .... define new API here using predicted next version number ....
--
1.8.1.4