]> git.zerfleddert.de Git - rsbs2/commitdiff
use MOTIF for GUI, fixes video redirection window problems
authorMichael Gernoth <michael@gernoth.net>
Sun, 9 Oct 2011 10:22:09 +0000 (12:22 +0200)
committerMichael Gernoth <michael@gernoth.net>
Sun, 9 Oct 2011 10:22:09 +0000 (12:22 +0200)
rsbs2.pl

index 97593a87c10c19b325ebaf8cbcdfea42a1cfd104..d81218a897a35c1583124b8554297a0df80e550a 100755 (executable)
--- a/rsbs2.pl
+++ b/rsbs2.pl
@@ -492,6 +492,7 @@ sub status {
 
 sub spawn_gui {
        my $base = shift;
 
 sub spawn_gui {
        my $base = shift;
+       $ENV{'AWT_TOOLKIT'} = 'MToolkit';
        open(APPLET,"|appletviewer -J-Djava.security.policy=applet.policy -J-Djava.net.preferIPv4Stack=true /dev/stdin");
        print APPLET '<HTML><HEAD><TITLE>RSB S2 User Interface</TITLE></HEAD>';
        print APPLET '<BODY>';
        open(APPLET,"|appletviewer -J-Djava.security.policy=applet.policy -J-Djava.net.preferIPv4Stack=true /dev/stdin");
        print APPLET '<HTML><HEAD><TITLE>RSB S2 User Interface</TITLE></HEAD>';
        print APPLET '<BODY>';
Impressum, Datenschutz