----- Original Message ----- > gdm 3.1.90 (June 2011) changed the path where .desktop files which should > be autostarted with gdm needs to be located. > This used to be $(datadir)/gdm/autostart/LoginWindow and is now > $(datadir)/gdm/greeter/autostart. ah! :) > This means that when running gdm in a VM in a recent distribution, > arbitrary resizing the VM window will not cause the resolution to be > adjusted. This used to be working in eg RHEL6. > > This patch installs the .desktop file to both paths in order to work both > with older and newer gdms. ack > --- > Makefile.am | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/Makefile.am b/Makefile.am > index 74cc313..7fae742 100644 > --- a/Makefile.am > +++ b/Makefile.am > @@ -42,9 +42,12 @@ noinst_HEADERS = src/glib-compat.h \ > xdgautostartdir = $(sysconfdir)/xdg/autostart > xdgautostart_DATA = $(top_srcdir)/data/spice-vdagent.desktop > > -gdmautostartdir = $(datadir)/gdm/autostart/LoginWindow > +gdmautostartdir = $(datadir)/gdm/greeter/autostart > gdmautostart_DATA = $(top_srcdir)/data/spice-vdagent.desktop > > +gdmautostart2dir = $(datadir)/gdm/autostart/LoginWindow > +gdmautostart2_DATA = $(top_srcdir)/data/spice-vdagent.desktop > + > install-data-local: > $(mkdir_p) $(DESTDIR)$(localstatedir)/run/spice-vdagentd > > -- > 1.8.5.3 > > _______________________________________________ > Spice-devel mailing list > Spice-devel@xxxxxxxxxxxxxxxxxxxxx > http://lists.freedesktop.org/mailman/listinfo/spice-devel > _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel