Skip to content

Commit

Permalink
Merge pull request #1344 from Suyooo/next
Browse files Browse the repository at this point in the history
Fix rendering errors on enabling/resizing monitors
  • Loading branch information
yshui authored Sep 28, 2024
2 parents 72fce70 + 16e17df commit 5c4f110
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -388,13 +388,13 @@ static inline void ev_configure_notify(session_t *ps, xcb_configure_notify_event
return;
}

if (ev->window == ev->event) {
return;
}

if (ev->window == ps->c.screen_info->root) {
configure_root(ps);
} else {
if (ev->window == ev->event) {
return;
}

configure_win(ps, ev);
}
}
Expand Down

0 comments on commit 5c4f110

Please sign in to comment.