diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2018-07-26 19:11:45 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2018-12-21 15:14:37 +0400 |
commit | f06a882b119d970fff19a922f2c5fc9c65f56d25 (patch) | |
tree | 26148702a5d5c18c39716564a92fa03842fb3e3d /src | |
parent | fd25645c11ac15f744e6f8ded53f7e745b189f62 (diff) |
display: allow display without associated monitor number
The VTE display will have monitor id -1.
Eventually, having a base "console" class without monitor id could
avoid this allowance.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Victor Toso <victortoso@redhat.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/virt-viewer-display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/virt-viewer-display.c b/src/virt-viewer-display.c index a1fcb82..98d4edd 100644 --- a/src/virt-viewer-display.c +++ b/src/virt-viewer-display.c @@ -129,7 +129,7 @@ virt_viewer_display_class_init(VirtViewerDisplayClass *class) g_param_spec_int("nth-display", "Nth display", "Nth display", - 0, + -1, G_MAXINT32, 0, G_PARAM_READWRITE | |