Lines Matching defs:nw
2316 ShellWidget nw = (ShellWidget) new;
2324 if (ow->shell.save_under != nw->shell.save_under) {
2326 attr.save_under = nw->shell.save_under;
2329 if (ow->shell.override_redirect != nw->shell.override_redirect) {
2331 attr.override_redirect = nw->shell.override_redirect;
2336 if ((mask & CWOverrideRedirect) && !nw->shell.override_redirect)
2337 _popup_set_prop(nw);
2609 ApplicationShellWidget nw = (ApplicationShellWidget) new;
2612 if (cw->application.argc != nw->application.argc ||
2613 cw->application.argv != nw->application.argv) {
2615 if (nw->application.argc > 0)
2616 nw->application.argv = NewArgv(nw->application.argc,
2617 nw->application.argv);
2621 if (XtIsRealized(new) && !nw->shell.override_redirect) {
2622 if (nw->application.argc >= 0 && nw->application.argv)
2624 nw->application.argv, nw->application.argc);
2640 SessionShellWidget nw = (SessionShellWidget) new;
2646 if (cw->session.session_id != nw->session.session_id) {
2647 nw->session.session_id = XtNewString(nw->session.session_id);
2651 if (cw->session.clone_command != nw->session.clone_command) {
2652 if (nw->session.clone_command) {
2653 nw->session.clone_command =
2654 NewStringArray(nw->session.clone_command);
2662 if (cw->session.current_dir != nw->session.current_dir) {
2663 if (nw->session.current_dir) {
2664 nw->session.current_dir = XtNewString(nw->session.current_dir);
2672 if (cw->session.discard_command != nw->session.discard_command) {
2673 if (nw->session.discard_command) {
2674 nw->session.discard_command =
2675 NewStringArray(nw->session.discard_command);
2683 if (cw->session.environment != nw->session.environment) {
2684 if (nw->session.environment) {
2685 nw->session.environment = NewStringArray(nw->session.environment);
2693 if (cw->session.program_path != nw->session.program_path) {
2694 if (nw->session.program_path) {
2695 nw->session.program_path = XtNewString(nw->session.program_path);
2703 if (cw->session.resign_command != nw->session.resign_command) {
2704 if (nw->session.resign_command) {
2705 nw->session.resign_command =
2706 NewStringArray(nw->session.resign_command);
2714 if (cw->session.restart_command != nw->session.restart_command) {
2715 if (nw->session.restart_command) {
2716 nw->session.restart_command =
2717 NewStringArray(nw->session.restart_command);
2725 if (cw->session.restart_style != nw->session.restart_style)
2728 if (cw->session.shutdown_command != nw->session.shutdown_command) {
2729 if (nw->session.shutdown_command) {
2730 nw->session.shutdown_command =
2731 NewStringArray(nw->session.shutdown_command);
2739 if ((!cw->session.join_session && nw->session.join_session) ||
2740 (!cw->session.connection && nw->session.connection)) {
2741 JoinSession(nw);
2745 if (nw->session.connection && (set_mask || unset_mask || initialize))
2749 if ((cw->session.join_session && !nw->session.join_session) ||
2750 (cw->session.connection && !nw->session.connection))
2751 StopManagingSession(nw, nw->session.connection);
2754 if (cw->wm.client_leader != nw->wm.client_leader ||
2755 cw->session.session_id != nw->session.session_id) {
2765 if (nw->session.session_id) {
2772 (unsigned char *) nw->session.session_id,
2773 (int) strlen(nw->session.session_id));