X11-specific resize and drag visual glitches
Steps to reproduce & Current behavior
Dragging on title bar button keeps it pressed indefinitely.
Resizing from a corner which will change the position makes the whole window glitch
Expected outcome
When we stop dragging, or when we start dragging, the button should be resetted to its initial color.
The window should stay normal.
Version information
Tested with GTK 4.1.1 and GTK 3.99.1 Does not happen on GTK 3.24
Additional information
Hardware and software:
Arch Linux (endeavourOS), tested with kernel 5.4, 5.7, 5.10~5.11. Core i5 8250U, HP Laptop with integrated graphics.
Edited by Dadoum