win: remove unnecessary assertion

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2019-03-25 12:35:16 +00:00
parent 58964df67a
commit a56f62033d
No known key found for this signature in database
GPG Key ID: 37C999F617EA1A47
1 changed files with 0 additions and 3 deletions

View File

@ -1618,9 +1618,6 @@ void map_win(session_t *ps, win *w) {
return;
}
// XXX ???
assert(!win_is_focused_real(ps, w));
// XXX Can we assume map_state is always viewable?
w->a.map_state = XCB_MAP_STATE_VIEWABLE;