git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@7 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-09-28 04:09:25 +00:00
parent 4800c9822f
commit 19eec89b60
2 changed files with 7 additions and 0 deletions

View File

@@ -26,5 +26,6 @@ void MilskoLLPolygon(HMILSKO handle, MilskoPoint* points, int points_count,
HMILSKOCOLOR MilskoLLAllocColor(HMILSKO handle, int r, int g, int b);
void MilskoLLGetXYWH(HMILSKO handle, int* x, int* y, unsigned int* w, unsigned int* h);
int MilskoLLPending(HMILSKO handle);
void MilskoLLNextEvent(HMILSKO handle);
#endif

View File

@@ -84,3 +84,9 @@ int MilskoLLPending(HMILSKO handle) {
}
return 0;
}
void MilskoLLNextEvent(HMILSKO handle) {
XEvent ev;
if(XCheckWindowEvent(handle->display, handle->window, mask, &ev)) {
}
}