This commit is contained in:
parent
c483c5f042
commit
a6adca6696
9 changed files with 105 additions and 9 deletions
12
src/core.c
12
src/core.c
|
|
@ -173,12 +173,14 @@ static void lldarkthemehandler(MwLL handle, void* data) {
|
|||
int s;
|
||||
|
||||
if(IsFirstVisible(h) && (shgeti(h->integer, MwNdarkTheme) == -1 || ((s = MwGetInteger(h, MwNdarkThemeAutomatic)) != MwDEFAULT && s))) {
|
||||
MwVaApply(h,
|
||||
MwNdarkTheme, *ptr,
|
||||
MwNdarkThemeAutomatic, 1,
|
||||
NULL);
|
||||
if(MwGetInteger(h, MwNmodernLook)){
|
||||
MwVaApply(h,
|
||||
MwNdarkTheme, *ptr,
|
||||
MwNdarkThemeAutomatic, 1,
|
||||
NULL);
|
||||
|
||||
MwDispatchUserHandler(h, MwNdarkThemeHandler, data);
|
||||
MwDispatchUserHandler(h, MwNdarkThemeHandler, data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue