… | |
… | |
1396 | classHint.res_name = (char *)rs[Rs_name]; |
1396 | classHint.res_name = (char *)rs[Rs_name]; |
1397 | classHint.res_class = (char *)RESCLASS; |
1397 | classHint.res_class = (char *)RESCLASS; |
1398 | |
1398 | |
1399 | wmHint.flags = InputHint | StateHint | WindowGroupHint; |
1399 | wmHint.flags = InputHint | StateHint | WindowGroupHint; |
1400 | wmHint.input = True; |
1400 | wmHint.input = True; |
1401 | wmHint.initial_state = option (Opt_iconic) ? IconicState : NormalState; |
1401 | wmHint.initial_state = option (Opt_iconic) ? IconicState |
|
|
1402 | : option (Opt_dockapp) ? WithdrawnState |
|
|
1403 | : NormalState; |
1402 | wmHint.window_group = top; |
1404 | wmHint.window_group = top; |
1403 | |
1405 | |
1404 | XmbSetWMProperties (dpy, top, NULL, NULL, (char **)argv, argc, |
1406 | XmbSetWMProperties (dpy, top, NULL, NULL, (char **)argv, argc, |
1405 | &szHint, &wmHint, &classHint); |
1407 | &szHint, &wmHint, &classHint); |
1406 | #if ENABLE_EWMH |
1408 | #if ENABLE_EWMH |