View.c: remove some uneccesary allocations which confuse composeUI apps

This commit is contained in:
Julian Winkler
2025-07-23 21:55:07 +02:00
parent 7366475172
commit 9e27cccc0d
2 changed files with 2 additions and 2 deletions

View File

@@ -599,7 +599,7 @@ JNIEXPORT void JNICALL Java_android_view_View_native_1layout(JNIEnv *env, jobjec
wrapper->real_width = width;
wrapper->real_height = height;
if (!wrapper->needs_allocation)
atl_safe_gtk_widget_queue_allocate(widget);
gtk_widget_queue_allocate(widget);
}
if (wrapper->needs_allocation) {
allocation.width = width;