event: do delayed window mapping
This remove the only case where map_win_start is called outside of the X critical section. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
@ -285,7 +285,7 @@ static inline void ev_map_notify(session_t *ps, xcb_map_notify_event_t *ev) {
|
||||
return;
|
||||
}
|
||||
|
||||
map_win_start(ps, w);
|
||||
win_queue_update(w, WIN_UPDATE_MAP);
|
||||
|
||||
// FocusIn/Out may be ignored when the window is unmapped, so we must
|
||||
// recheck focus here
|
||||
|
Reference in New Issue
Block a user