From 51ad94f7454218874bd7256eafc2435d8bd7c3a3 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 585e9c6..b4c06c4 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;