#!/bin/sh
#   MandrakeSoft bug fix for buggy WindowMaker
#   (c) 2000 MandrakeSoft, Thierry Vignaud <tvignaud@mandrakesoft.com>
#   Modified by David BAUDENS <baudens@mandrakesoft.com> (adapt PATH and
#   xsetroot)

/usr/bin/xsetroot -cursor_name watch

if [ ! -d ~/GNUstep/Library/WindowMaker ]; then
    yes | wmaker.inst
fi

exec /usr/bin/wmaker $@

/usr/bin/xsetroot -cursor_name X_cursor
