remove deprecated functions

This commit is contained in:
Julien Danjou 2007-12-27 13:23:50 +01:00
parent f5f31d36d7
commit dcee599f8c
2 changed files with 0 additions and 30 deletions

View File

@ -47,23 +47,6 @@ const NameFuncLink LayoutsList[] =
{NULL, NULL}
};
/** Find the index of the first currently selected tag
* \param screen the screen to search
* \return tag
*/
#warning this function is bugged and should be replaced
Tag *
get_current_tag(int screen)
{
Tag *tag;
for(tag = globalconf.screens[screen].tags; tag; tag = tag->next)
if(tag->selected)
return tag;
return NULL;
}
/** Arrange windows following current selected layout
* \param screen the screen to arrange
*/
@ -89,17 +72,6 @@ arrange(int screen)
restack(screen);
}
Layout *
get_current_layout(int screen)
{
Tag *curtag;
if ((curtag = get_current_tag(screen)))
return curtag->layout;
return NULL;
}
/** Send focus to next client in stack
* \param screen Screen ID
* \param arg Unused

View File

@ -27,8 +27,6 @@
#define AWESOMEPROPS_ATOM(disp) XInternAtom(disp, "_AWESOME_PROPERTIES", False)
void arrange(int);
Layout * get_current_layout(int) __attribute__ ((deprecated));
Tag * get_current_tag(int) __attribute__ ((deprecated));
void restack(int);
void loadawesomeprops(int);
void saveawesomeprops(int);