remove unnecessary compositing check in engine config...we're always compositing

This commit is contained in:
Mike Blumenkrantz 2013-08-19 14:42:33 +01:00
parent 6ef8fb0740
commit d2948e941a
1 changed files with 10 additions and 13 deletions

View File

@ -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);
}
}