annotate TVout/matroxset/swapped @ 5976:ff3e5901b2cc

small patch that fixes the purple window when the f key is pressed - by Attila Kinali <kinali@gmx.net>
author arpi
date Sat, 04 May 2002 22:52:56 +0000
parents 3b5f5d1c5041
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1 #! /bin/sh
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3 if [ -c /dev/fb0 ]; then
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
4 HEAD0=/dev/fb0
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5 HEAD1=/dev/fb1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
6 else
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
7 HEAD0=/dev/fb/0
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
8 HEAD1=/dev/fb/1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
9 fi
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
10 matroxset -f ${HEAD1} -m 0
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11 matroxset -f ${HEAD0} -m 2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
12 matroxset -f ${HEAD1} -m 1