win: rename find_toplevel_nocache to find_managed_window_or_parent

My previous understanding of this function is incorrect. Hopefully I got
it right this time.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2020-04-05 21:20:58 +01:00
parent 71e1a8a06f
commit 68fa49cf59
4 changed files with 7 additions and 7 deletions

View File

@@ -180,7 +180,7 @@ static inline struct managed_win *find_win_all(session_t *ps, const xcb_window_t
if (!w)
w = find_toplevel(ps, wid);
if (!w)
w = find_toplevel_nocache(ps, wid);
w = find_managed_window_or_parent(ps, wid);
return w;
}