yshui / picom

A lightweight compositor for X11 with animation support
https://picom.app/
Other
4.19k stars 589 forks source link

Fix rendering errors on enabling/resizing monitors #1344

Closed Suyooo closed 1 month ago

Suyooo commented 1 month ago

See issue #1338 - commit 0aa6202 introduced a problem with display changes, where root window Configure events would be ignored due to the new conditional, since the event comes from the root window itself. This is a small PR just moving that conditional, to make sure that root window events are always processed, and the filter only applies on other windows.

absolutelynothelix commented 1 month ago
clang-format -i src/event.c
git add src/event.c
git commit --amend --no-edit
git push --force
Suyooo commented 1 month ago

Thank you, fixed! Checks pass now

yshui commented 1 month ago

Nice catch! Thanks for the fix!