win: clarify what win_is_focused_real means

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2020-03-17 19:19:13 +00:00
parent fb3305fb9b
commit d2e323c985
4 changed files with 17 additions and 18 deletions

View File

@ -418,9 +418,9 @@ struct managed_win *find_toplevel2(session_t *ps, xcb_window_t wid);
bool attr_pure win_is_fullscreen(const session_t *ps, const struct managed_win *w);
/**
* Check if a window is really focused.
* Check if a window is focused, without using any focus rules or forced focus settings
*/
bool attr_pure win_is_focused_real(const session_t *ps, const struct managed_win *w);
bool attr_pure win_is_focused_raw(const session_t *ps, const struct managed_win *w);
/// check if window has ARGB visual
bool attr_pure win_has_alpha(const struct managed_win *w);