gdk_window_set_debug_updates

void gdk_window_set_debug_updates(bool setting);