[wmfs.h confg.c] Remove useless enum
This commit is contained in:
2
config.c
2
config.c
@@ -126,7 +126,7 @@ layout_name_to_struct(Layout lt[], char *name)
|
|||||||
for(i = 0; i < MAXLAYOUT; ++i)
|
for(i = 0; i < MAXLAYOUT; ++i)
|
||||||
if(lt[i].func == name_to_func(name, layout_list))
|
if(lt[i].func == name_to_func(name, layout_list))
|
||||||
return lt[i];
|
return lt[i];
|
||||||
return lt[Tile];
|
return lt[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
1
wmfs.h
1
wmfs.h
@@ -185,7 +185,6 @@ typedef struct
|
|||||||
enum { CurNormal, CurResize, CurMove, CurLast };
|
enum { CurNormal, CurResize, CurMove, CurLast };
|
||||||
enum { WMState, WMProtocols, WMName, WMDelete, WMLast };
|
enum { WMState, WMProtocols, WMName, WMDelete, WMLast };
|
||||||
enum { NetSupported, NetWMName, NetLast };
|
enum { NetSupported, NetWMName, NetLast };
|
||||||
enum { Tile = 0, Max = 1, Free = 2};
|
|
||||||
|
|
||||||
/* Functions Prototypes */
|
/* Functions Prototypes */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user