diff --git a/src/layout.c b/src/layout.c index 9035733..e29ecdd 100644 --- a/src/layout.c +++ b/src/layout.c @@ -689,13 +689,6 @@ grid_vertical(int screen) /** Put the selected client to the master postion * \param cmd uicb_t type unused */ -void -uicb_tile_switch(uicb_t cmd) -{ - (void)cmd; - layout_set_client_master (sel); - return; -} /** Toggle the selected client to free * \param cmd uicb_t type unused diff --git a/src/util.c b/src/util.c index 6306f3b..bad11c1 100644 --- a/src/util.c +++ b/src/util.c @@ -210,28 +210,6 @@ layout_name_to_struct(Layout lt[], char *name, int n, const func_name_list_t lli return lt[0]; } - -char* -alias_to_str(char *conf_choice) -{ - int i; - char *tmpchar = NULL; - - if(!conf_choice) - return 0; - - if(conf.alias) - for(i = 0; conf.alias[i].name; i++) - if(!strcmp(conf_choice, conf.alias[i].name)) - tmpchar = conf.alias[i].content; - - if(tmpchar) - return xstrdup(tmpchar); - else - return xstrdup(conf_choice); - - return NULL; -} /* }}} */ /** Execute a sh command diff --git a/src/wmfs.h b/src/wmfs.h index 6c6944e..e3ad539 100644 --- a/src/wmfs.h +++ b/src/wmfs.h @@ -300,7 +300,6 @@ void* name_to_func(char *name, const func_name_list_t *l); ulong char_to_modkey(char *name, key_name_list_t key_l[]); uint char_to_button(char *name, name_to_uint_t blist[]); Layout layout_name_to_struct(Layout lt[], char *name, int n, const func_name_list_t llist[]); -char* alias_to_str(char *conf_choice); /* }}} */ char *char_to_str(const char c); pid_t spawn(const char *str, ...);