e randr - restore edp checks

the dp checks were looking for edp stuff. but due to naming they appeard as
eDP or maybe edp or EDP - thus were simplified to dp. put more explicit
checks there.
This commit is contained in:
Carsten Haitzler 2014-12-16 11:31:00 +09:00 committed by Mike Blumenkrantz
parent 33d5ebb9fa
commit 38adb8db89
1 changed files with 3 additions and 4 deletions

View File

@ -1209,10 +1209,9 @@ _e_randr_is_lid(E_Randr_Output *cfg)
else if (strstr(cfg->name, "lvds")) ret = 1;
else if (strstr(cfg->name, "Lvds")) ret = 1;
else if (strstr(cfg->name, "LCD")) ret = 1;
#if 0
else if (strstr(cfg->name, "DP")) ret = 1;
else if (strstr(cfg->name, "dp")) ret = 1;
#endif
else if (strstr(cfg->name, "eDP")) ret = 1;
else if (strstr(cfg->name, "edp")) ret = 1;
else if (strstr(cfg->name, "EDP")) ret = 1;
return ret;
}