Don't use fvwm under Cygwin.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 15 Apr 2010 21:34:06 +0300
changeset 56 47272014a49a
parent 55 8fd48debf4cc
child 58 78d46cc0da41
Don't use fvwm under Cygwin.
.xinitrc
--- a/.xinitrc	Sat Apr 03 11:09:46 2010 +0300
+++ b/.xinitrc	Thu Apr 15 21:34:06 2010 +0300
@@ -7,7 +7,10 @@
 # Because of bug in xorg invoking setxkbmap cause disable repeat char when key pressed.
 # setxkbmap -rules xorg -model pc104 -layout "us,ru" -option "grp:rwin_toggle,grp_led:scroll" &
 
-fvwm &
+# Don't use fvwm under Cygwin.
+if [ -z "$COMSPEC" ]; then
+  fvwm &
+fi
 
 # Last command.
 exec xterm -e bash -i