enable compositor by default at compile-time

Marcel Pol marcel.pol at home.nl
Thu Aug 18 14:36:40 CEST 2005


Hello,
Would it be possible to compile xfwm with compositor support by default
when Xorg >= 6.8 is found?
The way I build the Mandriva packages for a while now is with
compositor enabled at compile-time, but disable it at runtime. When a
user wants compositor enabled, all he then has to do is change the
options at xfwm startup. The Mandriva packages contain a README.mdk
which explains this. Since we can expect that compositor will slowly
stabilize in future versions of Xorg, I think this makes much sense.
I added 2 patches inline for the startup-scripts.

What do you think?
-- 
Marcel Pol



--- xfce4-session-4.1.99.3/xfce4-session.rc.no_compositor
2004-12-26 00:05:54.000000000 +0100 +++
xfce4-session-4.1.99.3/xfce4-session.rc     2004-12-26
00:27:32.620536550 +0100 @@ -35,7 +35,7 @@ # user hasn't saved any
session yet or creates a new session. [Failsafe Session]
 Count=4
-Client0_Command=xfwm4
+Client0_Command=xfwm4,--compositor=off
 Client0_PerScreen=False
 Client1_Command=xfce4-panel
 Client1_PerScreen=True


--- xfce-utils-4.1.99.3/scripts/xinitrc.no_compositor   2004-12-26
00:13:13.000000000 +0100 +++ xfce-utils-4.1.99.3/scripts/xinitrc
2004-12-26 00:16:42.658364557 +0100 @@ -89,7 +89,7 @@
 # or use old-fashioned startup script otherwise

 xfce-mcs-manager
-xfwm4 --daemon
+xfwm4 --daemon --compositor=off

 # Start-up stuff from ~/Desktop/Autostart directory, if it exists
 # (as it seems to be the new standard)



More information about the Xfce4-dev mailing list