This commit is contained in:
Nishi 2026-01-27 18:50:03 +09:00
commit 626294c95f
Signed by: nishi
GPG key ID: 27EF69B208EB9343
2 changed files with 19 additions and 19 deletions

View file

@ -127,9 +127,9 @@ static void llclipboardhandler(MwLL handle, void* data) {
*/
#define IsFirstVisible(handle) ((handle)->widget_class != NULL && ((handle)->parent == NULL || (handle)->parent->widget_class == NULL))
static void lldarkthemehandler(MwLL handle, void* data){
MwWidget h = (MwWidget)handle->common.user;
int* ptr = data;
static void lldarkthemehandler(MwLL handle, void* data) {
MwWidget h = (MwWidget)handle->common.user;
int* ptr = data;
if(IsFirstVisible(h)) MwSetDarkTheme(h, *ptr);
}