mirror of
https://gitlab.com/virt-viewer/virt-viewer.git
synced 2025-01-25 06:03:42 +03:00
spice: Replace g_warning with g_debug
Instead of having a warning message telling the user that they can't have more displays enabled in fullscreen than the number of physical displays, let's just have it as a debug message. Related: rhbz#1368390 Acked-by: Fabiano Fidêncio <fabiano@fidencio.org>
This commit is contained in:
parent
d08df78030
commit
3dba5a1485
@ -914,8 +914,8 @@ virt_viewer_session_spice_display_monitors(SpiceChannel *channel,
|
||||
|
||||
if (!disabled && fullscreen_mode && self->priv->did_auto_conf &&
|
||||
!display_is_in_fullscreen_mode(self, VIRT_VIEWER_DISPLAY(display))) {
|
||||
g_warning("display %d should not be enabled, disabling",
|
||||
virt_viewer_display_get_nth(VIRT_VIEWER_DISPLAY(display)) + 1);
|
||||
g_debug("display %d should not be enabled, disabling",
|
||||
virt_viewer_display_get_nth(VIRT_VIEWER_DISPLAY(display)) + 1);
|
||||
spice_main_set_display_enabled(virt_viewer_session_spice_get_main_channel(self),
|
||||
virt_viewer_display_get_nth(VIRT_VIEWER_DISPLAY(display)),
|
||||
FALSE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user