In GTK 3, we use GUniquePtr to manage the lifetime of GdkEvents. But in GTK 4, we should switch to GRefPtr instead, rather than using a GUniquePtr that confusingly "deletes" the GdkEvent with gdk_event_unref().
Pull request: https://github.com/WebKit/WebKit/pull/5831
*** Bug 243290 has been marked as a duplicate of this bug. ***
Committed 256651@main (242c638012dd): <https://commits.webkit.org/256651@main> Reviewed commits have been landed. Closing PR #5831 and removing active labels.