forked from enlightenment/enlightenment
remove unnecessary compositing check in engine config...we're always compositing
This commit is contained in:
parent
6ef8fb0740
commit
d2948e941a
|
@ -102,19 +102,16 @@ _cb_shaped_change(void *data, Evas_Object *obj __UNUSED__)
|
||||||
if (!(cfdata = data)) return;
|
if (!(cfdata = data)) return;
|
||||||
if (cfdata->use_shaped_win)
|
if (cfdata->use_shaped_win)
|
||||||
{
|
{
|
||||||
if (ecore_x_screen_is_composited(0))
|
/* pop dialog */
|
||||||
{
|
e_confirm_dialog_show(_("Use shaped windows instead of ARGB"),
|
||||||
/* pop dialog */
|
"preferences-engine",
|
||||||
e_confirm_dialog_show(_("Use shaped windows instead of ARGB"),
|
_("You have chosen to use shaped windows<br>"
|
||||||
"preferences-engine",
|
"but your current screen is composited."
|
||||||
_("You have chosen to use shaped windows<br>"
|
"<br><br>"
|
||||||
"but your current screen is composited."
|
"Are you really sure you wish to use<br>"
|
||||||
"<br><br>"
|
"shaped windows?"),
|
||||||
"Are you really sure you wish to use<br>"
|
NULL, NULL, _cb_confirm_yes,
|
||||||
"shaped windows?"),
|
_cb_confirm_no, cfdata, cfdata, NULL, NULL);
|
||||||
NULL, NULL, _cb_confirm_yes,
|
|
||||||
_cb_confirm_no, cfdata, cfdata, NULL, NULL);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue