Don't use desktops and viewport at the same time when started via

desktop-effects
This commit is contained in:
drago01 2008-06-13 08:56:17 +00:00
parent 318035afd5
commit 239146b2eb
2 changed files with 18 additions and 1 deletions

View File

@ -14,7 +14,7 @@ URL: http://www.go-compiz.org
License: X11/MIT/GPL
Group: User Interface/Desktops
Version: 0.7.6
Release: 5%{?dist}
Release: 6%{?dist}
Summary: OpenGL window and compositing manager
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -52,6 +52,7 @@ Obsoletes: beryl-core
# Patches that are not upstream
Patch101: desktop-effects-0.7.17-ignore-hints.patch
Patch102: desktop-effects-0.7.17-wall-plugin.patch
Patch103: composite-cube-logo.patch
Patch105: fedora-logo.patch
@ -121,6 +122,7 @@ and other kde integration related stuff.
%setup -q
pushd ../desktop-effects-%{dialogversion}
%patch101 -p1 -b .ignore-hints
%patch102 -p1 -b .wall-plugin
popd
@ -330,6 +332,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Jun 13 2008 Adel Gadllah <adel.gadllah@gmail.com> - 0.7.6-6
- Don't use desktops and viewport at the same time
* Wed Jun 11 2008 Adel Gadllah <adel.gadllah@gmail.com> - 0.7.6-5
- Revert to old gconf schmema install script

View File

@ -0,0 +1,12 @@
diff -upNr desktop-effects-0.7.17.orign/desktop-effects.c desktop-effects-0.7.17/desktop-effects.c
--- desktop-effects-0.7.17.orign/desktop-effects.c 2008-01-17 19:22:37.000000000 +0100
+++ desktop-effects-0.7.17/desktop-effects.c 2008-06-13 10:49:11.000000000 +0200
@@ -251,7 +251,7 @@ start_compiz (App *app, GError **err)
if (!g_spawn_command_line_async ("gtk-window-decorator", err))
return FALSE;
- if (!g_spawn_command_line_async ("compiz --replace glib gconf", err))
+ if (!g_spawn_command_line_async ("compiz --ignore-desktop-hints --replace glib gconf", err))
return FALSE;
app->compiz_running = TRUE;