forked from pyrite-dev/milsko
JUST to make sure
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@774 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
f1abb4ea03
commit
f7d8204421
1 changed files with 2 additions and 0 deletions
|
|
@ -82,6 +82,7 @@ static void wait_map(MwLL handle, int sync) {
|
||||||
|
|
||||||
if(!sync) return;
|
if(!sync) return;
|
||||||
do {
|
do {
|
||||||
|
XMapWindow(handle->x11.display, handle->x11.window);
|
||||||
XSync(handle->x11.display, False);
|
XSync(handle->x11.display, False);
|
||||||
XGetWindowAttributes(handle->x11.display, handle->x11.window, &xwa);
|
XGetWindowAttributes(handle->x11.display, handle->x11.window, &xwa);
|
||||||
} while(xwa.map_state != IsViewable);
|
} while(xwa.map_state != IsViewable);
|
||||||
|
|
@ -100,6 +101,7 @@ static void wait_unmap(MwLL handle, int sync) {
|
||||||
|
|
||||||
if(!sync) return;
|
if(!sync) return;
|
||||||
do {
|
do {
|
||||||
|
XUnmapWindow(handle->x11.display, handle->x11.window);
|
||||||
XSync(handle->x11.display, False);
|
XSync(handle->x11.display, False);
|
||||||
XGetWindowAttributes(handle->x11.display, handle->x11.window, &xwa);
|
XGetWindowAttributes(handle->x11.display, handle->x11.window, &xwa);
|
||||||
} while(xwa.map_state != IsUnmapped);
|
} while(xwa.map_state != IsUnmapped);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue