Skip to content

Commit

Permalink
win: remove unnecessary assertion
Browse files Browse the repository at this point in the history
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
  • Loading branch information
yshui committed Mar 25, 2019
1 parent 58964df commit a56f620
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/win.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit a56f620

Please sign in to comment.