- Export LIBGL_ALWAYS_INDIRECT before starting compiz.

This commit is contained in:
Kristian Høgsberg 2007-08-09 21:24:04 +00:00
parent a6e529ac2f
commit 4d75300486
2 changed files with 6 additions and 2 deletions

View File

@ -48,7 +48,7 @@
OLDIFS=$IFS OLDIFS=$IFS
IFS=":" IFS=":"
if [ -z "$WINDOW_MANAGER" ] ; then if [ -z "$WINDOW_MANAGER" ] ; then
@@ -67,11 +73,18 @@ fi @@ -67,11 +73,19 @@ fi
# Now create options OPT1 and OPT2 based on the windowmanager used # Now create options OPT1 and OPT2 based on the windowmanager used
OPT1= OPT1=
OPT2= OPT2=
@ -59,6 +59,7 @@
OPT1=--sm-client-id=$SMID OPT1=--sm-client-id=$SMID
;; ;;
+ compiz) + compiz)
+ export LIBGL_ALWAYS_INDIRECT=1
+ gtk-window-decorator & + gtk-window-decorator &
+ OPT1=--sm-client-id + OPT1=--sm-client-id
+ OPT2=$SMID + OPT2=$SMID

View File

@ -12,7 +12,7 @@
Summary: GNOME session manager Summary: GNOME session manager
Name: gnome-session Name: gnome-session
Version: 2.19.6 Version: 2.19.6
Release: 2%{?dist} Release: 3%{?dist}
URL: http://www.gnome.org URL: http://www.gnome.org
Source0: http://download.gnome.org/sources/gnome-session/2.19/%{name}-%{version}.tar.bz2 Source0: http://download.gnome.org/sources/gnome-session/2.19/%{name}-%{version}.tar.bz2
Source1: redhat-default-session Source1: redhat-default-session
@ -185,6 +185,9 @@ fi
%doc %{_datadir}/man/man*/* %doc %{_datadir}/man/man*/*
%changelog %changelog
* Thu Aug 9 2007 Kristian Høgsberg <krh@redhat.com> - 2.19.6-3
- Export LIBGL_ALWAYS_INDIRECT before starting compiz.
* Fri Aug 3 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.6-2 * Fri Aug 3 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.6-2
- Update license field - Update license field