mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-05 00:50:53 +00:00
fancy
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@717 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user