mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-20 16:14:07 +00:00
remove MwLLSetBackground
This commit is contained in:
@@ -43,8 +43,6 @@
|
||||
\
|
||||
MwLLBeginStateChange = MwLLBeginStateChangeImpl; \
|
||||
MwLLEndStateChange = MwLLEndStateChangeImpl; \
|
||||
\
|
||||
MwLLSetBackground = MwLLSetBackgroundImpl; \
|
||||
\
|
||||
MwLLFocus = MwLLFocusImpl; \
|
||||
MwLLGrabPointer = MwLLGrabPointerImpl; \
|
||||
|
||||
@@ -344,11 +344,6 @@ static void MwLLFreeColorImpl(MwLLColor color) {
|
||||
free(color);
|
||||
}
|
||||
|
||||
static void MwLLSetBackgroundImpl(MwLL handle, MwLLColor color) {
|
||||
(void)handle;
|
||||
(void)color;
|
||||
}
|
||||
|
||||
static void MwLLGetXYWHImpl(MwLL handle, int* x, int* y, unsigned int* w, unsigned int* h) {
|
||||
RECT rc;
|
||||
|
||||
|
||||
@@ -398,10 +398,6 @@ static void MwLLFreeColorImpl(MwLLColor color) {
|
||||
free(color);
|
||||
}
|
||||
|
||||
static void MwLLSetBackgroundImpl(MwLL handle, MwLLColor color) {
|
||||
XSetWindowBackground(handle->x11.display, handle->x11.window, color->x11.pixel);
|
||||
}
|
||||
|
||||
static int MwLLPendingImpl(MwLL handle) {
|
||||
XEvent ev;
|
||||
if(XCheckTypedWindowEvent(handle->x11.display, handle->x11.window, ClientMessage, &ev) || XCheckWindowEvent(handle->x11.display, handle->x11.window, mask, &ev)) {
|
||||
|
||||
Reference in New Issue
Block a user