[virt-tools-list] [PATCH] virt-viewer-app: Call virt_viewer_app_update_menu_displays on show_hint change

Christophe Fergeau cfergeau at redhat.com
Fri Mar 22 11:08:56 UTC 2013


On Thu, Mar 21, 2013 at 05:23:40PM +0100, Hans de Goede wrote:
> Since the sensitivity of the display menu-check-items depends on show_hint,
> we need to call virt_viewer_app_update_menu_displays on show_hint change.
> 
> This fixes the following scenario:
> 1) Linux guest with upto 4 displays on a single qxl dev
> 2) Configure it for 2 displays
> 3) Switch to a text-console in the guest (ie send ctrl+alt+F3)
> 4) All displays except for disp 1 are now not sensitve in the menu
> 5) Switch back to X
> 6) The second display in the view->displays menu is still not sensitive

This means that in this situation none of the signals where we call
virt_viewer_app_update_menu_displays fired, is that intentional?
Or is notify::show-hint precisely the signal that is fired in this
situation?
If this is the case your patch makes total sense to me, ACK

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20130322/2d9cd5b2/attachment.sig>


More information about the virt-tools-list mailing list