stacking: Remove unused EwinListStackGetTop()

This commit is contained in:
Kim Woelders 2022-04-04 11:15:55 +02:00
parent 4bd69a0b66
commit 33dc371131
2 changed files with 1 additions and 23 deletions

View File

@ -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

View File

@ -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)
{