… | |
… | |
203 | #endif |
203 | #endif |
204 | #ifdef TRANSPARENT |
204 | #ifdef TRANSPARENT |
205 | "_XROOTPMAP_ID", |
205 | "_XROOTPMAP_ID", |
206 | "ESETROOT_PMAP_ID", |
206 | "ESETROOT_PMAP_ID", |
207 | #endif |
207 | #endif |
208 | #ifdef OFFIX_DND |
|
|
209 | "DndProtocol", |
|
|
210 | "DndSelection", |
|
|
211 | #endif |
|
|
212 | #if ENABLE_XEMBED |
208 | #if ENABLE_XEMBED |
213 | "_XEMBED", |
209 | "_XEMBED", |
214 | "_XEMBED_INFO", |
210 | "_XEMBED_INFO", |
215 | #endif |
211 | #endif |
216 | }; |
212 | }; |
… | |
… | |
344 | rxvt_fatal ("can't open display %s, aborting.\n", rs[Rs_display_name]); |
340 | rxvt_fatal ("can't open display %s, aborting.\n", rs[Rs_display_name]); |
345 | |
341 | |
346 | extract_resources (); |
342 | extract_resources (); |
347 | |
343 | |
348 | free (r_argv); |
344 | free (r_argv); |
|
|
345 | |
|
|
346 | #if ENABLE_PERL |
|
|
347 | if (!rs[Rs_perl_ext_1]) |
|
|
348 | rs[Rs_perl_ext_1] = "default"; |
|
|
349 | |
|
|
350 | if ((rs[Rs_perl_ext_1] && *rs[Rs_perl_ext_1]) |
|
|
351 | || (rs[Rs_perl_ext_2] && *rs[Rs_perl_ext_2]) |
|
|
352 | || (rs[Rs_perl_eval] && *rs[Rs_perl_eval])) |
|
|
353 | { |
|
|
354 | rxvt_perl.init (this); |
|
|
355 | HOOK_INVOKE ((this, HOOK_INIT, DT_END)); |
|
|
356 | } |
|
|
357 | #endif |
349 | |
358 | |
350 | /* |
359 | /* |
351 | * set any defaults not already set |
360 | * set any defaults not already set |
352 | */ |
361 | */ |
353 | if (cmd_argv && cmd_argv[0]) |
362 | if (cmd_argv && cmd_argv[0]) |
… | |
… | |
1435 | } |
1444 | } |
1436 | |
1445 | |
1437 | _exit (EXIT_FAILURE); |
1446 | _exit (EXIT_FAILURE); |
1438 | |
1447 | |
1439 | default: |
1448 | default: |
1440 | #if UTMP_SUPPORT |
|
|
1441 | if (!OPTION (Opt_utmpInhibit)) |
1449 | if (!OPTION (Opt_utmpInhibit)) |
1442 | pty->login (cmd_pid, OPTION (Opt_loginShell), rs[Rs_display_name]); |
1450 | pty->login (cmd_pid, OPTION (Opt_loginShell), rs[Rs_display_name]); |
1443 | #endif |
|
|
1444 | |
1451 | |
1445 | pty->close_tty (); |
1452 | pty->close_tty (); |
1446 | |
1453 | |
1447 | child_ev.start (cmd_pid); |
1454 | child_ev.start (cmd_pid); |
1448 | |
1455 | |