Re: [PATCH virt-viewer v2 1/2] window: Do not show fullscreen toolbar if in kiosk mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pushed, thanks.

On 31/05/17 10:27, Victor Toso wrote:
> On Wed, May 31, 2017 at 10:23:15AM -0300, Eduardo Lima (Etrunko) wrote:
>> Regression since commit cc455b7f916110d7cfae6b7af753349e070c9494.
>>
>> Related: https://bugzilla.redhat.com/show_bug.cgi?id=1446161
>>
>> Signed-off-by: Eduardo Lima (Etrunko) <etrunko@xxxxxxxxxx>
> Acked-by: Victor Toso <victortoso@xxxxxxxxxx>
>> ---
>>  src/virt-viewer-window.c | 7 +++++--
>>  1 file changed, 5 insertions(+), 2 deletions(-)
>>
>> diff --git a/src/virt-viewer-window.c b/src/virt-viewer-window.c
>> index f5448c6..3ba4e2c 100644
>> --- a/src/virt-viewer-window.c
>> +++ b/src/virt-viewer-window.c
>> @@ -518,8 +518,11 @@ virt_viewer_window_enter_fullscreen(VirtViewerWindow *self, gint monitor)
>>  
>>      virt_viewer_window_menu_fullscreen_set_active(self, TRUE);
>>      gtk_widget_hide(menu);
>> -    gtk_widget_show(priv->toolbar);
>> -    virt_viewer_timed_revealer_force_reveal(priv->revealer, TRUE);
>> +
>> +    if (!priv->kiosk) {
>> +        gtk_widget_show(priv->toolbar);
>> +        virt_viewer_timed_revealer_force_reveal(priv->revealer, TRUE);
>> +    }
>>  
>>      if (priv->display) {
>>          virt_viewer_display_set_monitor(priv->display, monitor);
>> -- 
>> 2.9.4
>>
>> _______________________________________________
>> virt-tools-list mailing list
>> virt-tools-list@xxxxxxxxxx
>> https://www.redhat.com/mailman/listinfo/virt-tools-list


-- 
Eduardo de Barros Lima (Etrunko)
Software Engineer - RedHat
etrunko@xxxxxxxxxx

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list

[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux