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:
parent
8dc486b9d5
commit
45fcb4899e
1 changed files with 0 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue