idk
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
Nishi 2026-04-24 09:09:37 +09:00
commit 1c26efcc91

View file

@ -159,6 +159,15 @@ static void recursive_dispatch_move(MwLL handle, MwMouse* p) {
}
};
static void recursive_render(MwLL handle) {
int i;
WIDGET_CHECK(handle);
for(i = 0; i < arrlen(((MwWidget)handle->common.user)->children); i++) recursive_render(((MwWidget)handle->common.user)->children[i]->lowlevel);
MwLLForceRender(handle);
}
static void wl_offer(void* data,
struct wl_data_offer* wl_data_offer,
const char* mime_type) {
@ -2048,15 +2057,6 @@ static void MwLLGetXYWHImpl(MwLL handle, int* x, int* y, unsigned int* w, unsign
*h = handle->wayland.wh;
}
static void recursive_render(MwLL handle) {
int i;
WIDGET_CHECK(handle);
for(i = 0; i < arrlen(((MwWidget)handle->common.user)->children); i++) recursive_render(((MwWidget)handle->common.user)->children[i]->lowlevel);
MwLLForceRender(handle);
}
static void MwLLSetXYImpl(MwLL handle, int x, int y) {
WIDGET_CHECK(handle);
region_invalidate(handle);
@ -2794,10 +2794,7 @@ static void MwLLEndStateChangeImpl(MwLL handle) {
}
}
MwLLForceRender(handle);
if(handle->wayland.parent != NULL) {
MwLLForceRender(handle->wayland.parent);
}
recursive_render(handle);
handle->wayland.events_pending = 1;