diff options
Diffstat (limited to 'contrib/sloppy.c')
-rw-r--r-- | contrib/sloppy.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/sloppy.c b/contrib/sloppy.c index deeea3f..7e026ca 100644 --- a/contrib/sloppy.c +++ b/contrib/sloppy.c @@ -64,6 +64,10 @@ main (void) exit (1); } + /* Ensure child shell will have $RATPOISON set. */ + if (!getenv ("RATPOISON")) + setenv ("RATPOISON", "ratpoison", 0); + defaulthandler = XSetErrorHandler (errorhandler); numscreens = ScreenCount (display); |