stacking: Remove unused EwinListStackGetTop()
This commit is contained in:
parent
4bd69a0b66
commit
33dc371131
|
@ -515,7 +515,6 @@ EWin *const *EwinListStackGet(int *num);
|
|||
EWin *const *EwinListFocusGet(int *num);
|
||||
EWin *const *EwinListGetForDesk(int *num, Desk * d);
|
||||
EWin *const *EwinListOrderGet(int *num);
|
||||
EWin *EwinListStackGetTop(void);
|
||||
int EwinListStackIsRaised(const EWin * ewin);
|
||||
|
||||
#define EwinListGetAll EwinListStackGet
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2004-2020 Kim Woelders
|
||||
* Copyright (C) 2004-2022 Kim Woelders
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to
|
||||
|
@ -441,27 +441,6 @@ EobjListStackGetForDesk(int *num, Desk * dsk)
|
|||
return lst;
|
||||
}
|
||||
|
||||
#if 0 /* Unused */
|
||||
EWin *
|
||||
EwinListStackGetTop(void)
|
||||
{
|
||||
const EobjList *ewl;
|
||||
int i;
|
||||
EObj *eo;
|
||||
|
||||
ewl = &EwinListStack;
|
||||
|
||||
for (i = 0; i < ewl->nwins; i++)
|
||||
{
|
||||
eo = ewl->list[i];
|
||||
if (eo->type == EOBJ_TYPE_EWIN)
|
||||
return (EWin *) eo;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
int
|
||||
EwinListStackIsRaised(const EWin * ewin)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue