force classic theme
This commit is contained in:
parent
ac809775c8
commit
e0315257c8
3 changed files with 8 additions and 3 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue