From 45fcb4899e649245b497fc518bec5e625e356339 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Mon, 25 Mar 2019 12:35:16 +0000 Subject: [PATCH] win: remove unnecessary assertion Signed-off-by: Yuxuan Shui --- src/win.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/win.c b/src/win.c index 585e9c6c..b4c06c40 100644 --- a/src/win.c +++ b/src/win.c @@ -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 // the server. - // 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;