diff --git a/config.c b/config.c index 14d783f..d470dfd 100644 --- a/config.c +++ b/config.c @@ -126,7 +126,7 @@ layout_name_to_struct(Layout lt[], char *name) for(i = 0; i < MAXLAYOUT; ++i) if(lt[i].func == name_to_func(name, layout_list)) return lt[i]; - return lt[Tile]; + return lt[0]; } void diff --git a/wmfs.h b/wmfs.h index eb8f573..a41498a 100644 --- a/wmfs.h +++ b/wmfs.h @@ -185,7 +185,6 @@ typedef struct enum { CurNormal, CurResize, CurMove, CurLast }; enum { WMState, WMProtocols, WMName, WMDelete, WMLast }; enum { NetSupported, NetWMName, NetLast }; -enum { Tile = 0, Max = 1, Free = 2}; /* Functions Prototypes */