View | Details | Raw Unified | Return to bug 10351 | Differences between
and this patch

Collapse All | Expand All

(-)a/hw/xwin/_usr_X11R6_lib_X11_system.XWinrc (-2 / +5 lines)
Lines 18-23 Link Here
18
#                               ^^ This command will have any "%display%"
18
#                               ^^ This command will have any "%display%"
19
#                                  string replaced with the proper display
19
#                                  string replaced with the proper display
20
#                                  variable (i.e. 127.0.0.1:<display>.0)
20
#                                  variable (i.e. 127.0.0.1:<display>.0)
21
#                                  (This should only rarely be needed as
22
#                                  the DISPLAY environment variable is also
23
#                                  set correctly)
21
#  or	<Menu Text>	MENU	<name-of-some-prior-defined-menu>
24
#  or	<Menu Text>	MENU	<name-of-some-prior-defined-menu>
22
#  or	<Menu Text>	ALWAYSONTOP
25
#  or	<Menu Text>	ALWAYSONTOP
23
#                         ^^ Sets the window to display above all others
26
#                         ^^ Sets the window to display above all others
Lines 79-86 Link Here
79
82
80
// Make some menus...
83
// Make some menus...
81
menu apps {
84
menu apps {
82
	xterm	exec	"xterm"
85
	xterm	exec	"xterm -sb"
83
	"Emacs"		exec	"emacs"
86
	"Emacs"	exec	"emacs"
84
	notepad	exec	notepad
87
	notepad	exec	notepad
85
	xload	exec	"xload -display %display%"  # Comment
88
	xload	exec	"xload -display %display%"  # Comment
86
}
89
}
(-)a/hw/xwin/winprefs.c (-3 / +3 lines)
Lines 371-378 HandleCustomWM_COMMAND (unsigned long hwndIn, Link Here
371
		      /* Disassociate any TTYs */
371
		      /* Disassociate any TTYs */
372
		      setsid();
372
		      setsid();
373
373
374
		      execl ("/bin/sh",
374
		      execl ("/bin/bash",
375
			     "/bin/sh",
375
			     "/bin/bash",
376
			     "-l",
376
			     "-c",
377
			     "-c",
377
			     m->menuItem[j].param,
378
			     m->menuItem[j].param,
378
			     NULL);
379
			     NULL);
379
- 

Return to bug 10351