1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2024-11-11 13:51:02 -05:00

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 8dc486b9d5
commit 45fcb4899e
No known key found for this signature in database
GPG key ID: 37C999F617EA1A47

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
// 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;