Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_popup.c 


Log Message:
When trying todo composite for popups, check that 1) the user wanted to use
it AND 2) X can actually do it (ie: composite is enabled).

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_popup.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- e_popup.c   13 Nov 2006 07:26:14 -0000      1.15
+++ e_popup.c   29 Dec 2007 21:43:59 -0000      1.16
@@ -169,7 +169,8 @@
          pop->shaped = 1;
        else
          pop->shaped = 0;
-       if (e_config->use_composite)
+       /* check if user wanted composite AND that X can do it */
+       if ((e_config->use_composite) && (ecore_x_composite_query()))
          {
             ecore_evas_alpha_set(pop->ecore_evas, pop->shaped);
             pop->evas_win = 
ecore_evas_software_x11_window_get(pop->ecore_evas);



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to