git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@20 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-09-28 09:55:42 +00:00
parent 9f96056a1a
commit 376cef244b
4 changed files with 36 additions and 12 deletions

View File

@@ -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);
}
}
}