don't pretend randr mode can be null when it can't

CID 1379945
This commit is contained in:
Mike Blumenkrantz 2017-08-25 14:47:05 -04:00
parent c7c4470ae0
commit 43d837d681
1 changed files with 1 additions and 1 deletions

View File

@ -422,7 +422,7 @@ _config_update(E_Randr2 *r, E_Config_Randr2 *cfg, Eina_Bool update_only)
{
E_Randr2_Mode *m = eina_list_data_get(s->info.modes);
cs->enabled = !!m;
cs->enabled = 1;
cs->mode_refresh = m->refresh;
cs->mode_w = m->w;
cs->mode_h = m->h;