@@ -3102,7 +3102,7 @@ drawarea_configure_event_cb(GtkWidget *widget,
31023102 g_return_val_if_fail (event
31033103 && event -> width >= 1 && event -> height >= 1 , TRUE);
31043104
3105- # if GTK_CHECK_VERSION (3 ,22 ,2 )
3105+ # if GTK_CHECK_VERSION (3 ,22 ,2 ) && ! GTK_CHECK_VERSION ( 3 , 22 , 4 )
31063106 /* As of 3.22.2, GdkWindows have started distributing configure events to
31073107 * their "native" children (https://git.gnome.org/browse/gtk+/commit/?h=gtk-3-22&id=12579fe71b3b8f79eb9c1b80e429443bcc437dd0).
31083108 *
@@ -3123,6 +3123,10 @@ drawarea_configure_event_cb(GtkWidget *widget,
31233123 * implementation details. Therefore, watch out any relevant internal
31243124 * changes happening in GTK in the feature (sigh).
31253125 */
3126+ /* Follow-up
3127+ * After a few weeks later, the GdkWindow change mentioned above was
3128+ * reverted (https://git.gnome.org/browse/gtk+/commit/?h=gtk-3-22&id=f70039cb9603a02d2369fec4038abf40a1711155).
3129+ * The corresponding official release is 3.22.4. */
31263130 if (event -> send_event == FALSE)
31273131 return TRUE;
31283132# endif
@@ -4492,7 +4496,7 @@ form_configure_event(GtkWidget *widget UNUSED,
44924496{
44934497 int usable_height = event -> height ;
44944498
4495- #if GTK_CHECK_VERSION (3 ,22 ,2 )
4499+ #if GTK_CHECK_VERSION (3 ,22 ,2 ) && ! GTK_CHECK_VERSION ( 3 , 22 , 4 )
44964500 /* As of 3.22.2, GdkWindows have started distributing configure events to
44974501 * their "native" children (https://git.gnome.org/browse/gtk+/commit/?h=gtk-3-22&id=12579fe71b3b8f79eb9c1b80e429443bcc437dd0).
44984502 *
@@ -4508,6 +4512,10 @@ form_configure_event(GtkWidget *widget UNUSED,
45084512 * To filter out such fallacious events, check if the given event is the
45094513 * one that was sent out to the right place. Ignore it if not.
45104514 */
4515+ /* Follow-up
4516+ * After a few weeks later, the GdkWindow change mentioned above was
4517+ * reverted (https://git.gnome.org/browse/gtk+/commit/?h=gtk-3-22&id=f70039cb9603a02d2369fec4038abf40a1711155).
4518+ * The corresponding official release is 3.22.4. */
45114519 if (event -> window != gtk_widget_get_window (gui .formwin ))
45124520 return TRUE;
45134521#endif
0 commit comments