remove deprecated functions
This commit is contained in:
parent
f5f31d36d7
commit
dcee599f8c
28
layout.c
28
layout.c
|
@ -47,23 +47,6 @@ const NameFuncLink LayoutsList[] =
|
||||||
{NULL, NULL}
|
{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
|
/** Arrange windows following current selected layout
|
||||||
* \param screen the screen to arrange
|
* \param screen the screen to arrange
|
||||||
*/
|
*/
|
||||||
|
@ -89,17 +72,6 @@ arrange(int screen)
|
||||||
restack(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
|
/** Send focus to next client in stack
|
||||||
* \param screen Screen ID
|
* \param screen Screen ID
|
||||||
* \param arg Unused
|
* \param arg Unused
|
||||||
|
|
2
layout.h
2
layout.h
|
@ -27,8 +27,6 @@
|
||||||
#define AWESOMEPROPS_ATOM(disp) XInternAtom(disp, "_AWESOME_PROPERTIES", False)
|
#define AWESOMEPROPS_ATOM(disp) XInternAtom(disp, "_AWESOME_PROPERTIES", False)
|
||||||
|
|
||||||
void arrange(int);
|
void arrange(int);
|
||||||
Layout * get_current_layout(int) __attribute__ ((deprecated));
|
|
||||||
Tag * get_current_tag(int) __attribute__ ((deprecated));
|
|
||||||
void restack(int);
|
void restack(int);
|
||||||
void loadawesomeprops(int);
|
void loadawesomeprops(int);
|
||||||
void saveawesomeprops(int);
|
void saveawesomeprops(int);
|
||||||
|
|
Loading…
Reference in New Issue