GTK Introduces Snapping Feature For Better Fractional Scaling Experience

Written by Michael Larabel in GNOME on 28 May 2026 at 06:01 AM EDT. 29 Comments
GNOME
The upcoming GTK 4.23.1 development release is introducing a new feature called Snapping, which should enhance the experience when dealing with fractional scaling on today's high resolution displays.


GTK's snapping feature adjusts the placement of rectangles when drawing to ensure they align with the pixel grid and do not cover half a pixel. This snapping to ensure alignment with the pixel grid is important with fractional scaling. Developers enabling snapping can ensure that any game sprites are correctly aligned and also being useful for applications displaying images and wanting to ensure the pixels match 1:1 between the image and displayed output. For redirected drawing such as game emulators and VM viewers and the like, snapping can prove useful too.

GTK snapping visual


Snapping isn't enabled by default for all GTK apps though since automatic snapping could cause smoothness issues during slow animations. Developers wanting to learn more about this GTK snapping feature can do so via the GTK blog.
Related News
About The Author

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week