mirror of
https://github.com/0intro/wmii
synced 2024-11-26 15:49:37 +03:00
19 lines
335 B
C
19 lines
335 B
C
/*
|
|
* (C)opyright MMIV-MMV Anselm R. Garbe <garbeam at gmail dot com>
|
|
* See LICENSE file for license details.
|
|
*/
|
|
|
|
#include <string.h>
|
|
|
|
#include "wm.h"
|
|
|
|
Layout *
|
|
match_layout(char *name)
|
|
{
|
|
Layout *l;
|
|
for(l = layouts; l; l = l->next)
|
|
if(!strncmp(name, l->name, strlen(l->name)))
|
|
return l;
|
|
return nil;
|
|
}
|