git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@577 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-11-02 23:55:32 +00:00
parent 41c8c4320b
commit cca8044e98
2 changed files with 18 additions and 3 deletions

View File

@@ -710,6 +710,14 @@ void MwLLMakePopup(MwLL handle, MwLL parent) {
XSetTransientForHint(handle->display, handle->window, parent->window);
XChangeProperty(handle->display, handle->window, wndtype, XA_ATOM, 32, PropModeReplace, (unsigned char*)&wnddlg, 1);
XChangeProperty(handle->display, handle->window, wndstate, XA_ATOM, 32, PropModeReplace, (unsigned char*)&wndmodal, 1);
XUnmapWindow(handle->display, handle->window);
XMapWindow(handle->display, handle->window);
XFlush(handle->display);
XSync(handle->display, False);
wait_map(handle);
}
void MwLLSetSizeHints(MwLL handle, int minx, int miny, int maxx, int maxy) {