- DEStyle *oldstyle, *style;
- uint score;
-
- style=do_create_style(rootwin, name);
-
- if(style==NULL)
- return NULL;
-
- for(oldstyle=styles; oldstyle!=NULL; oldstyle=oldstyle->next){
- if(oldstyle->rootwin!=rootwin)
- continue;
- if(gr_stylespec_equals(&oldstyle->spec, &style->spec))
- break;
- }
-
- if(oldstyle!=NULL && !oldstyle->is_fallback)
- dump_style(oldstyle);
-