Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        ecompmgr.c 


Log Message:
Add warning if trying to enable composite when not available (Thanks emby).
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/ecompmgr.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- ecompmgr.c  19 Mar 2005 16:40:01 -0000      1.13
+++ ecompmgr.c  30 Mar 2005 18:12:56 -0000      1.14
@@ -1887,8 +1887,17 @@
 void
 ECompMgrConfigSet(const cfg_composite * cfg)
 {
+   Conf_compmgr.mode = ECM_MODE_OFF;
    if (Conf_compmgr.mode == ECM_MODE_OFF)
-      return;
+     {
+       if (cfg->enable)
+          DialogOK("Enable Composite Error",
+                   _("Cannot enable Composite Manager.\n"
+                     "Use xdpyinfo to check that\n"
+                     "Composite, Damage, Fixes, and Render\n"
+                     "extensions are loaded."));
+       return;
+     }
 
    if (cfg->enable != Conf_compmgr.enable)
      {




-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to