win: rename find_toplevel2 to find_toplevel_nocache

So it is slightly clearer what is the difference to find_toplevel().

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2020-04-05 20:45:26 +01:00
parent 397710ac27
commit 53bb488530
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_toplevel2(ps, wid);
w = find_toplevel_nocache(ps, wid);
return w;
}