win: remove unused parameter ignore_state

remove unrequired parameter `ignore_state` of
`win_calc_opacity_target()` that was always `false` now.
This commit is contained in:
Bernd Busse
2020-04-05 14:07:06 +02:00
committed by Yuxuan Shui
parent ad8632b017
commit 132332c483
2 changed files with 7 additions and 10 deletions

View File

@ -310,12 +310,10 @@ bool win_get_class(session_t *ps, struct managed_win *w);
*
* @param ps current session
* @param w struct _win object representing the window
* @param ignore_state whether window state should be ignored in opacity calculation
*
* @return target opacity
*/
double attr_pure win_calc_opacity_target(session_t *ps, const struct managed_win *w,
bool ignore_state);
double attr_pure win_calc_opacity_target(session_t *ps, const struct managed_win *w);
bool attr_pure win_should_dim(session_t *ps, const struct managed_win *w);
void win_update_screen(session_t *, struct managed_win *);
/**