else
conf = e_comp_cfdata_config_new();
+ // comp config versioning - add this in. over time add epochs etc. if
+ // necessary, but for now a simple version number will do
+ if (conf->version < E_COMP_VERSION)
+ {
+ switch (conf->version)
+ {
+ case 0:
+ // going from version 0 we should disable grab for smoothness
+ conf->grab = 0;
+ /* fallthrough */
+ default:
+ break;
+ }
+ e_config_save_queue();
+ conf->version = E_COMP_VERSION;
+ }
+
if (!getenv("ECORE_X_NO_XLIB"))
{
if (ecore_evas_engine_type_supported_get(ECORE_EVAS_ENGINE_OPENGL_X11))
#undef D
#define T E_Comp_Config
#define D *conf_edd
+ E_CONFIG_VAL(D, T, version, INT);
E_CONFIG_VAL(D, T, shadow_style, STR);
E_CONFIG_VAL(D, T, engine, INT);
//E_CONFIG_VAL(D, T, max_unmapped_pixels, INT);
E_Comp_Match *mat;
cfg = E_NEW(E_Comp_Config, 1);
+ cfg->version = E_COMP_VERSION;
cfg->shadow_style = eina_stringshare_add("default");
cfg->engine = E_COMP_ENGINE_SW;
cfg->max_unmapped_pixels = 32 * 1024; // implement
cfg->lock_fps = 0;
cfg->efl_sync = 0;
cfg->loose_sync = 1;
- cfg->grab = 1;
+ cfg->grab = 0;
cfg->vsync = 1;
#ifdef ECORE_EVAS_GL_X11_OPT_SWAP_MODE
cfg->swap_mode = ECORE_EVAS_GL_X11_SWAP_MODE_AUTO;