- Update gnome-session-2.17.5-window-manager.patch to apply (remove chunks

that are now upstream).
This commit is contained in:
Kristian Høgsberg 2007-09-05 17:30:41 +00:00
parent b45d3415b5
commit 5bd4b997ea
2 changed files with 5 additions and 28 deletions

View File

@ -49,30 +49,3 @@ diff -up gnome-session-2.19.6/gnome-session/gnome-wm.window-manager gnome-sessio
if [ -z "$WINDOW_MANAGER" ] ; then
# Create a list of window manager we can handle, trying to only use the
@@ -82,6 +87,7 @@ fi
OPT1=
OPT2=
OPT3=
+OPT4=
if [ ! -z "$SMID" ] ; then
case `basename $WINDOW_MANAGER` in
sawfish|sawmill|metacity)
@@ -117,14 +123,16 @@ fi
case `basename $WINDOW_MANAGER` in
compiz)
+ export LIBGL_ALWAYS_INDIRECT=1
gtk-window-decorator &
- OPT3=gconf
+ OPT3=glib
+ OPT4=gconf
;;
beryl)
emerald &
;;
esac
-exec $WINDOW_MANAGER $OPT1 $OPT2 $OPT3
+exec $WINDOW_MANAGER $OPT1 $OPT2 $OPT3 $OPT4
echo "ERROR: No window manager could run!"

View File

@ -12,7 +12,7 @@
Summary: GNOME session manager
Name: gnome-session
Version: 2.19.92
Release: 1%{?dist}
Release: 2%{?dist}
URL: http://www.gnome.org
Source0: http://download.gnome.org/sources/gnome-session/2.19/%{name}-%{version}.tar.bz2
Source1: redhat-default-session
@ -185,6 +185,10 @@ fi
%doc %{_datadir}/man/man*/*
%changelog
* Wed Sep 5 2007 Kristian Høgsberg <krh@redhat.com> - 2.19.92-2
- Update gnome-session-2.17.5-window-manager.patch to apply (remove
chunks that are now upstream).
* Tue Sep 4 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.92-1
- Update to 2.19.92