73 fprintf(
stderr,
"unable to allocate %lu bytes for name_list\n",
122 if(
match(
nptr->name, class->res_class)) {
162 if(
match(
nptr->name, class->res_class)) {
203 Scr->FirstTime =
true;
213 Scr->FirstTime =
true;
220 if(
match(
nptr->name, class->res_class)) {
222 Scr->FirstTime =
true;
313 for(; *
p;
p++,
t++) {
325 if(*
p ==
'!' || *
p ==
'^') {
404 while((*
p ==
'?') || (*
p ==
'*')) {
void DoShutdown(void)
Cleanup and exit ctwm.
bool GetColorFromList(name_list *list_head, char *name, XClassHint *class, Pixel *ptr)
void * LookInNameList(name_list *list_head, const char *name)
int match(const char *p, const char *t)
int regex_match_after_star(const char *p, const char *t)
bool IsInList(name_list *list_head, TwmWindow *twin)
void * LookInListWin(name_list *list_head, TwmWindow *twin)
void FreeList(name_list **list)
int regex_match(const char *p, const char *t)
void * LookPatternInList(name_list *list_head, const char *name, XClassHint *class)
void AddToList(name_list **list_head, const char *name, void *ptr)
void * LookInList(name_list *list_head, const char *name, XClassHint *class)
void * LookPatternInNameList(name_list *list_head, const char *name)
Info and control for every X Window we take over.
void GetColor(int kind, Pixel *what, const char *name)
Get info from the server about a given color.