diff options
Diffstat (limited to 'gui/wm/ws.c')
-rw-r--r-- | gui/wm/ws.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/wm/ws.c b/gui/wm/ws.c index 8133baab09..27ca7ae411 100644 --- a/gui/wm/ws.c +++ b/gui/wm/ws.c @@ -1172,6 +1172,7 @@ void wsCreateImage( wsTWindow * win,int Width,int Height ) win->xImage->data=win->Shminfo.shmaddr; win->Shminfo.readOnly=0; XShmAttach( wsDisplay,&win->Shminfo ); + XSync(wsDisplay, False); shmctl( win->Shminfo.shmid,IPC_RMID,0 ); } else |