Avoid disabling composite manager entirely when composite extension is available.

SVN revision: 13201
This commit is contained in:
Kim Woelders 2005-02-06 11:50:19 +00:00
parent a267624c01
commit 9b57fbdfeb
1 changed files with 3 additions and 0 deletions

View File

@ -2069,6 +2069,9 @@ ECompMgrInit(void)
Mode_compmgr.have_name_pixmap = (major > 0 || minor >= 2);
#endif
if (Conf_compmgr.mode == ECM_MODE_OFF)
Conf_compmgr.mode = ECM_MODE_ROOT;
if (Mode_compmgr.args)
{
switch (Mode_compmgr.args[0])