discomfitor pushed a commit to branch master.

commit d2948e941a9772502f0294d35744e8c0baac3aa8
Author: Mike Blumenkrantz <[email protected]>
Date:   Mon Aug 19 14:42:33 2013 +0100

    remove unnecessary compositing check in engine config...we're always 
compositing
---
 src/modules/conf_performance/e_int_config_engine.c | 23 ++++++++++------------
 1 file changed, 10 insertions(+), 13 deletions(-)

diff --git a/src/modules/conf_performance/e_int_config_engine.c 
b/src/modules/conf_performance/e_int_config_engine.c
index e31f645..191e73d 100644
--- a/src/modules/conf_performance/e_int_config_engine.c
+++ b/src/modules/conf_performance/e_int_config_engine.c
@@ -102,19 +102,16 @@ _cb_shaped_change(void *data, Evas_Object *obj __UNUSED__)
    if (!(cfdata = data)) return;
    if (cfdata->use_shaped_win)
      {
-        if (ecore_x_screen_is_composited(0))
-          {
-             /* pop dialog */
-             e_confirm_dialog_show(_("Use shaped windows instead of ARGB"),
-                                   "preferences-engine",
-                                   _("You have chosen to use shaped 
windows<br>"
-                                     "but your current screen is composited."
-                                     "<br><br>"
-                                     "Are you really sure you wish to use<br>"
-                                     "shaped windows?"),
-                                   NULL, NULL, _cb_confirm_yes,
-                                   _cb_confirm_no, cfdata, cfdata, NULL, NULL);
-          }
+        /* pop dialog */
+        e_confirm_dialog_show(_("Use shaped windows instead of ARGB"),
+                              "preferences-engine",
+                              _("You have chosen to use shaped windows<br>"
+                                "but your current screen is composited."
+                                "<br><br>"
+                                "Are you really sure you wish to use<br>"
+                                "shaped windows?"),
+                              NULL, NULL, _cb_confirm_yes,
+                              _cb_confirm_no, cfdata, cfdata, NULL, NULL);
      }
 }
 

-- 

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk

Reply via email to