mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/virt-viewer
synced 2026-01-13 04:42:30 +00:00
Make display menu item sensitive again
Even if the display has not been explicitely disabled, as long as
the display is "selectable"
Fix regression introduced with "Do not disable extra client monitors"
3b981d953f
This commit is contained in:
parent
081f2decbe
commit
23acfa582d
@ -1838,8 +1838,7 @@ window_update_menu_displays_cb(gpointer key G_GNUC_UNUSED,
|
||||
if (hint & VIRT_VIEWER_DISPLAY_SHOW_HINT_READY)
|
||||
sensitive = TRUE;
|
||||
|
||||
if ((hint & VIRT_VIEWER_DISPLAY_SHOW_HINT_DISABLED) &&
|
||||
virt_viewer_display_get_selectable(display))
|
||||
if (virt_viewer_display_get_selectable(display))
|
||||
sensitive = TRUE;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user