force classic theme

This commit is contained in:
Nishi 2025-12-19 22:13:38 +09:00
commit e0315257c8
Signed by: nishi
GPG key ID: 27EF69B208EB9343
3 changed files with 8 additions and 3 deletions

View file

@ -188,7 +188,9 @@ void login_window(void) {
MwLibraryInit();
root = MwCreateWidget(NULL, "root", NULL, 0, 0, 0, 0);
root = MwVaCreateWidget(NULL, "root", NULL, 0, 0, 0, 0,
MwNmodernLook, 0,
NULL);
window = MwVaCreateWidget(MwWindowClass, "login", root, (x_width() - 366) / 2, (x_height() - 183) / 2, 366, 183,
MwNtitle, "login",

View file

@ -35,7 +35,9 @@ void loop_wm(void) {
MwLibraryInit();
root = MwCreateWidget(NULL, "root", NULL, 0, 0, 0, 0);
root = MwVaCreateWidget(NULL, "root", NULL, 0, 0, 0, 0,
MwNmodernLook, 0,
NULL);
pthread_mutex_unlock(&xmutex);

View file

@ -7,7 +7,7 @@ static int first = 1;
static void resize(MwWidget handle, void* user, void* client) {
int bw = MwDefaultBorderWidth(window) + 2;
;
MwVaApply(box,
MwNx, bw,
MwNy, bw,
@ -31,6 +31,7 @@ int main() {
MwNtitle, "mpanel",
MwNhasBorder, 1,
MwNinverted, 0,
MwNmodernLook, 0,
NULL);
box = MwCreateWidget(MwBoxClass, "box", window, 0, 0, 0, 0);