mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-09 10:53:27 +00:00
better rendering
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@522 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -406,7 +406,10 @@ void MwLLNextEvent(MwLL handle) {
|
||||
MwLLGetXYWH(handle, &x, &y, &w, &h);
|
||||
|
||||
MwLLDispatch(handle, draw, NULL);
|
||||
if(handle->copy_buffer) XCopyArea(handle->display, handle->pixmap, handle->window, handle->gc, 0, 0, w, h, 0, 0);
|
||||
if(handle->copy_buffer){
|
||||
XCopyArea(handle->display, handle->pixmap, handle->window, handle->gc, 0, 0, w, h, 0, 0);
|
||||
XSetWindowBackgroundPixmap(handle->display, handle->window, handle->pixmap);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user