git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@717 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-11-14 16:57:46 +00:00
parent f5d2ce100f
commit 9cf85f3956

View File

@@ -219,6 +219,8 @@ static MwLL MwLLCreateImpl(MwLL parent, int x, int y, int width, int height) {
if(x != MwDEFAULT || y != MwDEFAULT) {
unsigned int dummy;
XUnmapWindow(r->x11.display, r->x11.window);
MwLLGetXYWH(r, &px, &py, &dummy, &dummy);
if(x == MwDEFAULT) x = px;
@@ -229,6 +231,8 @@ static MwLL MwLLCreateImpl(MwLL parent, int x, int y, int width, int height) {
} else {
MwLLSetXY(r, x, y);
}
wait_map(r);
}
return r;