menu works i guess

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@138 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-03 10:24:34 +00:00
parent f8e58bb9a9
commit 6db4808815
7 changed files with 84 additions and 24 deletions

View File

@@ -327,3 +327,12 @@ void MwLLSetIcon(MwLL handle, MwLLPixmap pixmap) {
free(icon);
}
void MwLLForceRender(MwLL handle){
XEvent ev;
memset(&ev, 0, sizeof(ev));
ev.type = Expose;
ev.xexpose.window = handle->window;
XSendEvent(handle->display, handle->window, False, ExposureMask, &ev);
}