[Bug 55991] fullscreen

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 15 00:32:04 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=55991

Marc-Andre Lureau <marcandre.lureau at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Marc-Andre Lureau <marcandre.lureau at gmail.com> ---
(In reply to comment #0)
> Dear
> I'm very appreciate that you provide such a good client(spice-gtk), it's
> fast and can redirect a lot of usb devices, which give me the feeling to use
> a physical machine. I think it will be wonderful if we have a way to exit
> full screen gracefully, rather than press "shift+F12". like a lot of full
> screen applications, when cursor moves to the topmost, there is a drop-down
> windows, which allows you to restore the window or close the window, I'd
> like to implement such a function, and I need some tips from you.
> 
> I already investigating a bit,I can get the "mouse move to topmost signal"
> from input channel, and we can emit this signal to display channel, then we
> can draw a drop-down window in the screen, but I don't know how to draw a
> button to close the window, I've lost in the code.
> 
> I need some tips to do such a function.

The topmost toolbar can be handled all by the client side, no need to deal with
Spice channels. You can look at virt-viewer src/virt-viewer-window.c, where the
widget is created ViewAutoDrawer_New().

Alternatively, you can look at gtk3 solution using GtkOverlay & GtkEventBox, it
is implemented by GNOME Boxes in src/display-page.vala.

fyi, the mailing is more appropriate for help discussion. Bugzilla is for bugs.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-bugs/attachments/20121015/c751b562/attachment.html>


More information about the spice-bugs mailing list