Go to file
Jonathon Jongsma 2d2d7ac2f7 Fix resizing problem with recent gtk versions
When using client-side decorations, as well as in certain other
situations (wayland, and windows in some cases), the window gradually
resizes larger and larger.

This is caused by a change in how gtk interprets the sizes passed to
gtk_window_resize(), particularly when client-side decorations (CSD) are
involved. For example, In the past this size was assumed to include the
size of the CSD, but now it it assumes that the sizes only represent the
size of the window's content, without any decorations. However,
gtk_widget_get_preferred_size() (when called on a GtkWindow*), returns a
size that includes the size of the CSD. So
virt_viewer_window_queue_resize() was essentially growing the window by
the size of the CSD every time it was called.

To work around this issue, we need to calculate the preferred size of
the window's child, not the size of the entire window (including CSD).
Then we add the width of the window's border (just to be safe) and pass
those values to gtk_window_resize().
2016-07-28 11:14:36 -05:00
build-aux Import GNULIB rules for syntax checking code 2012-02-06 12:42:23 +00:00
data package: Add appdata metadata for Gnome Software 2016-06-29 02:01:42 +02:00
docs docs: fix "make syntaxcheck" 2015-12-01 16:46:07 +01:00
icons Add virt-viewer-usb.png 2014-11-24 14:14:14 +01:00
man ovirt: Use sso-token when set in .vv file 2016-05-10 09:51:14 +02:00
po Refresh translations from zanata 2016-06-30 13:53:29 +01:00
src Fix resizing problem with recent gtk versions 2016-07-28 11:14:36 -05:00
tests monitor-alignment: Do not crash on NULL display 2016-06-20 17:08:28 +02:00
.mailmap update .mailmap 2012-03-01 16:20:25 +01:00
acinclude.m4 m4: Use -Wdeprecated-declarations 2016-02-24 16:56:51 +01:00
AUTHORS.in Auto-generate AUTHORS file from GIT logs 2013-02-13 15:17:57 +00:00
autobuild.sh Drop support to gtk2 2016-02-15 21:49:57 +01:00
autogen.sh autogen: Ensure m4 directory exists 2015-11-05 14:24:23 +00:00
cfg.mk Delete browser plugin entirely 2013-03-13 11:47:42 +00:00
ChangeLog Automatically generate changelog from GIT history during make dist 2011-11-07 12:42:15 +00:00
configure.ac Post-release version bump to 5.0 2016-06-30 15:18:42 +01:00
COPYING Added COPYING/INSTALL files 2007-08-15 20:22:40 -04:00
git.mk git.mk: fix copyright line and remove use of -o / -a 2015-11-05 14:22:35 +00:00
GNUmakefile Import GNULIB rules for syntax checking code 2012-02-06 12:42:23 +00:00
intltool-extract.in Add support for i18n of the UI 2010-01-11 16:01:20 +00:00
intltool-merge.in Add support for i18n of the UI 2010-01-11 16:01:20 +00:00
intltool-update.in Add support for i18n of the UI 2010-01-11 16:01:20 +00:00
maint.mk Adapt 'po file' syntax check to look at more files 2013-02-13 15:18:19 +00:00
Makefile.am Remove nsis installer 2016-05-03 08:04:23 +02:00
mingw-virt-viewer.spec.in mingw,spec: Bump msitools version 2016-06-23 17:33:58 +02:00
NEWS Update NEWS for 4.0 release 2016-06-30 13:54:00 +01:00
README README: update information 2016-02-25 09:26:57 +01:00
virt-viewer.spec.in package: Add appdata metadata for Gnome Software 2016-06-29 02:01:42 +02:00

  Virt Viewer
  ===========

Virt Viewer provides a graphical viewer for the guest OS
display. At this time is supports guest OS using the VNC
or SPICE protocols. Further protocols may be supported in
the future as user demand dictates. The viewer can connect
directly to both local and remotely hosted guest OS, optionally
using SSL/TLS encryption.

Virt Viewer is the GTK3 application. Virt Viewer 3.0 was
the last release that supported GTK2.

Virt Viewer uses the GTK-VNC (>= 0.4.0) widget to provide a
display of the VNC protocol, which is available from

  http://gtk-vnc.sourceforge.net/

Virt Viewer uses the SPICE-GTK (>= 0.30) widget to provide a
display of the SPICE protocol, which is available from:

  http://www.spice-space.org/download.html

Use of either SPICE-GTK or GTK-VNC can be disabled at time
of configure, with --without-gtk-vnc or --without-spice-gtk
respectively.

Virt Viewer uses libvirt to lookup information about the
guest OS display. This is available from

  http://libvirt.org/

Further information about the Virt Viewer application can be
found on the Virt Manager website:

  http://virt-manager.org/

Feedback should be directed to the mailing list at

  http://virt-manager.org/mailinglist.html

-- End