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 75ef090fc4
commit 51ad94f745
No known key found for this signature in database
GPG Key ID: 37C999F617EA1A47
1 changed files with 0 additions and 3 deletions

View File

@ -1658,9 +1658,6 @@ void map_win(session_t *ps, win *w) {
// is stale). There is basically no real way to prevent this, aside from grabbing // is stale). There is basically no real way to prevent this, aside from grabbing
// the server. // the server.
// XXX ???
assert(!win_is_focused_real(ps, w));
// XXX Can we assume map_state is always viewable? // XXX Can we assume map_state is always viewable?
w->a.map_state = XCB_MAP_STATE_VIEWABLE; w->a.map_state = XCB_MAP_STATE_VIEWABLE;