summaryrefslogtreecommitdiffstats
path: root/src/virt-viewer-session.h
Commit message (Collapse)AuthorAgeFilesLines
* Add virt_viewer_session_can_share_folder()Marc-André Lureau2015-03-051-0/+2
| | | | | Functions name says it all, it is only implement for Spice, checking for webdav channel presence.
* Force displays to update geometry when agent connectsFabiano Fidêncio2014-08-191-0/+1
| | | | | | | | We have to force displays to update geometry when the agent connects to ensure the client will have the guest with the right resolution when the guest has rebooted or the agent has crashed. https://bugzilla.redhat.com/sho_bug.cgi?id=1021841
* app: report disconnection error detailsMarc-André Lureau2014-07-081-1/+1
| | | | | | It may be useful to provide more detailed reason for disconnection. https://bugzilla.redhat.com/show_bug.cgi?id=1115986
* Do all display alignment in virt-viewerJonathon Jongsma2013-11-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Don't rely on spice-gtk to do any alignment of displays. This patch sets the disable-display-align property on the SpiceMainChannel, and makes the VirtViewerSession in charge of doing all alignment. This means that every display has to tell the VirtViewerSession when its "virtual monitor" has changed configuration (and wants to reconfigure its display on the guest), rather than sending it directly to the Main Channel. The session will then align the displays (if necessary), and the spice session will send down new configuration for all displays at once. This solves a couple of problems: 1. It allows the session to send down absolute coordinates only in the case where *all* windows are fullscreen (so that we can still support vertically-stacked displays, etc). But it auto-aligns displays if only a subset of the displays are in fullscreen mode. This solves the problem of overlapping regions on different displays when one monitor is in fullscreen because only one monitor's configuration was updated and the others were not aligned. 2. Allows us to always align based on the current position of each display. This contrasts with the earlier behavior where the position used for alignment was the window's position at the time when it was last resized. This caused displays to be arranged in a seemingly non-deterministic manner if one window was moved and then another window was resized (causing a display re-configuration). Solves rhbz#1002156
* usbredir: Don't depend on channel orderingHans de Goede2013-07-061-2/+3
| | | | | | | | | | | | | Before this patch-set virt-viewer was calling spice_session_has_channel_type( session, SPICE_CHANNEL_USBREDIR) from the session-initialized signal handler, So as soon as the display channel gets added to the session, the check was done. This causes the check to return FALSE for usbredir capable vms if the usbredir channel(s) get added to the session after the display channed. This patch refactors things to not depend on channel creation order. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* Allow app_initial_connect() to raise an errorMarc-André Lureau2013-03-081-2/+2
|
* Add VirtViewerSession:file propertyMarc-André Lureau2012-11-271-0/+3
| | | | | | | | | | If VirtViewerSession:file is set, it should be used to define the connection parameters. Also correct the mime type used in this case. The mime type is needed to identify the kind of resources we are adding to the recent list. The recent list can then be filtered and various application handling that type may attempt to access that resource.
* session: add virt_viewer_session_mime_type()Marc-André Lureau2012-11-271-0/+2
|
* Add VirtViewerSession::session-display-updatedMarc-André Lureau2012-07-231-0/+1
| | | | | Rebuild menu when agent is connected. Only when the agent is running may a display be enabled/disabled.
* remote-viewer: add a simple connection dialogMarc-André Lureau2012-03-291-0/+1
| | | | | | If the user doesn't provide URI, let's show a simple dialog to enter it. Also save & list recently used URLs in that dialog.
* spice: implement --fullscreen=auto-confMarc-André Lureau2012-03-211-0/+2
| | | | | | | - auto-conf is an optionnal argument to --fullscreen: it will set the guest display configuration to match the client display configuration, by sending the client monitors size and position to capable guests.
* Add smartcard-{insert,remove} and release-cursor virtual methodsMarc-André Lureau2012-02-221-2/+5
|
* Extract tlsPort for SPICE and use it to enable secure connectionsDaniel P. Berrange2012-02-141-8/+8
|
* Implement SPICE desktop resizing that takes account of zoom levelDaniel P. Berrange2012-02-081-2/+0
| | | | | | | | | | | | | The standard SPICE widget guest resize implementation does not take into account the zoom level settings in virt-viewer, because it has no knowledge of this functionality. The guest resize can, however, be done by calling spice_main_set_display() directly. This allows virt-viewer to resize the guest taking into account zoom levels. ie, if virt-viewer is run with --zoom 50 and the window is resized to 400x300, then the guest agent should be told to set its resolution to 800x600
* Update copyright headersDaniel P. Berrange2012-02-061-2/+2
|
* Convert TABS to spaces & reindent everywhereDaniel P. Berrange2012-02-061-46/+47
|
* Only make the USB device selection sensitive when the vm is USB capableHans de Goede2012-02-061-0/+2
|
* Add a menu entry for USB device selectionHans de Goede2012-02-061-0/+4
|
* Register a new signal session-cancelledGuannan Ren2012-01-311-0/+1
|
* Enable spice auto-usbredirMarc-André Lureau2012-01-311-0/+3
|
* Add error dialog for USB redirection failureMarc-André Lureau2012-01-311-0/+1
|
* Add virt_viewer_session_open_uriMarc-André Lureau2012-01-301-0/+2
|
* Split pull part of VirtViewerDisplay out into VirtViewerSessionDaniel P. Berrange2011-07-111-0/+117
To facilitate introduction of multi-head support, pull some of the VirtViewerDisplay class out into a new VirtViewerSession class.