From d2948e941a9772502f0294d35744e8c0baac3aa8 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 19 Aug 2013 14:42:33 +0100 Subject: [PATCH] remove unnecessary compositing check in engine config...we're always compositing --- .../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 e31f64598..191e73daf 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
" - "but your current screen is composited." - "

" - "Are you really sure you wish to use
" - "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
" + "but your current screen is composited." + "

" + "Are you really sure you wish to use
" + "shaped windows?"), + NULL, NULL, _cb_confirm_yes, + _cb_confirm_no, cfdata, cfdata, NULL, NULL); } }