simon-git: puzzles (main): Ben Harris
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Sat May 17 11:05:55 BST 2025
TL;DR:
e374a5a GTK: correct offset when copying backing to window
Repository: https://git.tartarus.org/simon/puzzles.git
On the web: https://git.tartarus.org/?p=simon/puzzles.git
Branch updated: main
Committer: Ben Harris <bjh21 at bjh21.me.uk>
Date: 2025-05-17 11:05:55
commit e374a5a8991c749dc0a4aa2e0b9947d109abb3fc
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=e374a5a8991c749dc0a4aa2e0b9947d109abb3fc;hp=c9070b4b40dcf1d1c5294bc827fe996a8925e7f5
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date: Sat May 17 11:05:48 2025 +0100
GTK: correct offset when copying backing to window
When I removed the explicit code for handling non-unity scale factors
in favour of letting Cairo do the hard work, I accidentally simplified
draw_area() a little too much and removed the offsets that allow for
the fact that the puzzle surface doesn't necessarily fill the window,
meaning that the wrong parts of the surface tended to get painted into
the window. I've now corrected this.
gtk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the tartarus-commits
mailing list