Thanks, waiting for upstream would be the sensible option, but I'll take the learning opportunity to do this backport :)
Question: Do I make my PR against rawhide
branch and revert the last 3 commits related to 3.40.0?
I filed upstream bug: https://gitlab.gnome.org/GNOME/gnome-mahjongg/-/issues/39
Maybe we can backport the patch for bz#2187055 to 3.38.3 instead?
Thanks for the fast response on the PR!
Unfortunately seems like there are new problems: gnome-mahjongg will sometimes lag significantly, or freeze completely. One way to induce it is by repeatedly clicking the hint button (20+ times), then start selecting/deselecting tiles until it freezes. Another way is by starting a new game from the game over screen (not from the menu). I will report upstream.
Tested on F38 Xfce
Works