fixed on kde at least

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@701 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-11-14 10:37:16 +00:00
parent e10fd1212c
commit 4cfdddbeaa
3 changed files with 59 additions and 17 deletions

View File

@@ -99,9 +99,11 @@ MwWidget MwMessageBox(MwWidget handle, const char* text, const char* title, unsi
MwNalignment, MwALIGNMENT_BEGINNING,
NULL);
MwLLDetach(window->lowlevel, &p);
MwLLShow(window->lowlevel, 0);
MwLLSetSizeHints(window->lowlevel, w, h, w, h);
MwLLMakePopup(window->lowlevel, handle->lowlevel);
MwLLDetach(window->lowlevel, &p);
MwLLShow(window->lowlevel, 1);
MwAddUserHandler(window, MwNcloseHandler, messagebox_close, NULL);