mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-08 18:33:30 +00:00
less flickering for x11
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@322 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -174,6 +174,10 @@ void MwLLFreeColor(MwLLColor color) {
|
||||
free(color);
|
||||
}
|
||||
|
||||
void MwLLSetBackground(MwLL handle, MwLLColor color) {
|
||||
XSetWindowBackground(handle->display, handle->window, color->pixel);
|
||||
}
|
||||
|
||||
int MwLLPending(MwLL handle) {
|
||||
XEvent ev;
|
||||
if(XCheckTypedWindowEvent(handle->display, handle->window, ClientMessage, &ev) || XCheckWindowEvent(handle->display, handle->window, mask, &ev)) {
|
||||
|
||||
Reference in New Issue
Block a user