aa
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@20 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
9f96056a1a
commit
376cef244b
4 changed files with 36 additions and 12 deletions
|
|
@ -102,6 +102,9 @@ int MilskoLLPending(MilskoLL handle) {
|
|||
void MilskoLLNextEvent(MilskoLL handle) {
|
||||
XEvent ev;
|
||||
if(XCheckWindowEvent(handle->display, handle->window, mask, &ev)) {
|
||||
if(ev.type == Expose) {
|
||||
if(handle->draw != NULL) handle->draw(handle);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue