diff --git a/desktop/desktop.cpp b/desktop/desktop.cpp index d055165..0b87b5e 100644 --- a/desktop/desktop.cpp +++ b/desktop/desktop.cpp @@ -1683,7 +1683,6 @@ bool ApplicationInstanceStart(int64_t applicationID, _EsApplicationStartupInform EsHandle handle = EsSyscall(ES_SYSCALL_WINDOW_CREATE, ES_WINDOW_NORMAL, 0, 0, 0); instance->embeddedWindowHandle = handle; - EsSyscall(ES_SYSCALL_WINDOW_SET_PROPERTY, handle, 0xFF000000 | GetConstantNumber("windowFillColor"), 0, ES_WINDOW_PROPERTY_RESIZE_CLEAR_COLOR); instance->embeddedWindowID = EsSyscall(ES_SYSCALL_WINDOW_GET_ID, handle, 0, 0, 0); m.createInstance.window = EsSyscall(ES_SYSCALL_WINDOW_SET_PROPERTY, handle, process->handle, 0, ES_WINDOW_PROPERTY_EMBED_OWNER); diff --git a/desktop/gui.cpp b/desktop/gui.cpp index 331f898..80b68db 100644 --- a/desktop/gui.cpp +++ b/desktop/gui.cpp @@ -890,7 +890,6 @@ EsWindow *EsWindowCreate(EsInstance *instance, EsWindowStyle style) { if (style == ES_WINDOW_NORMAL) { EsSyscall(ES_SYSCALL_WINDOW_SET_PROPERTY, window->handle, 0, (uintptr_t) window, ES_WINDOW_PROPERTY_OBJECT); - EsSyscall(ES_SYSCALL_WINDOW_SET_PROPERTY, window->handle, 0xFF000000 | GetConstantNumber("windowFillColor"), 0, ES_WINDOW_PROPERTY_RESIZE_CLEAR_COLOR); window->activated = true; EsPanel *panel = EsPanelCreate(window, ES_ELEMENT_NON_CLIENT | ES_CELL_FILL | ES_PANEL_Z_STACK); panel->cName = "window stack"; diff --git a/desktop/os.header b/desktop/os.header index 680a74a..d0036db 100644 --- a/desktop/os.header +++ b/desktop/os.header @@ -723,7 +723,6 @@ define ES_WINDOW_PROPERTY_EMBED (0x07) define ES_WINDOW_PROPERTY_EMBED_INSETS (0x08) define ES_WINDOW_PROPERTY_OBJECT (0x81) // Embedded window properties. define ES_WINDOW_PROPERTY_EMBED_OWNER (0x82) -define ES_WINDOW_PROPERTY_RESIZE_CLEAR_COLOR (0x83) define ES_DRAW_BITMAP_OPAQUE (0xFFFF) define ES_DRAW_BITMAP_XOR (0xFFFE) diff --git a/drivers/usb_hid.cpp b/drivers/usb_hid.cpp index a25f7f9..88b8779 100644 --- a/drivers/usb_hid.cpp +++ b/drivers/usb_hid.cpp @@ -1,6 +1,6 @@ #include -#define TRACE_REPORTS +// #define TRACE_REPORTS // TODO Key repeat not working on Qemu. diff --git a/kernel/syscall.cpp b/kernel/syscall.cpp index 2d80dab..952c9b3 100644 --- a/kernel/syscall.cpp +++ b/kernel/syscall.cpp @@ -463,8 +463,6 @@ SYSCALL_IMPLEMENT(ES_SYSCALL_WINDOW_SET_PROPERTY) { embed->SetEmbedOwner(process); KMutexRelease(&windowManager.mutex); SYSCALL_RETURN(process->handleTable.OpenHandle(embed, 0, KERNEL_OBJECT_EMBEDDED_WINDOW), false); - } else if (property == ES_WINDOW_PROPERTY_RESIZE_CLEAR_COLOR) { - embed->resizeClearColor = argument1; } else { SYSCALL_RETURN(ES_FATAL_ERROR_OUT_OF_RANGE, true); } diff --git a/kernel/windows.cpp b/kernel/windows.cpp index 7f7d37a..4a57b4f 100644 --- a/kernel/windows.cpp +++ b/kernel/windows.cpp @@ -19,7 +19,6 @@ struct EmbeddedWindow { volatile uint32_t handles; struct Window *container; EsObjectID id; - uint32_t resizeClearColor; bool closed; }; @@ -43,7 +42,6 @@ struct Window { Surface surface; EsRectangle opaqueBounds, blurBounds; uint8_t alpha, material; - uint32_t resizeClearColor; // Owner and children: Process *owner; diff --git a/res/Theme Source.dat b/res/Theme Source.dat index d6d4ecd..232da27 100644 Binary files a/res/Theme Source.dat and b/res/Theme Source.dat differ diff --git a/res/Themes/Theme.dat b/res/Themes/Theme.dat index 6116e66..dd7f039 100644 Binary files a/res/Themes/Theme.dat and b/res/Themes/Theme.dat differ