win: rename some functions
rename map_win, unmap_win, destroy_win to map_win_start, unmap_win_start, destroy_win_start respectively. To clarify their intended functions. Also rename the corresponding finish_* functions to *_finish so they are consistent. Also some very minor code clean ups. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
@@ -1272,7 +1272,7 @@ static void handle_new_windows(session_t *ps) {
|
||||
}
|
||||
auto mw = (struct managed_win *)new_w;
|
||||
if (mw->a.map_state == XCB_MAP_STATE_VIEWABLE) {
|
||||
map_win(ps, mw);
|
||||
map_win_start(ps, mw);
|
||||
|
||||
// This window might be damaged before we called fill_win
|
||||
// and created the damage handle. And there is no way for
|
||||
|
||||
Reference in New Issue
Block a user