diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-11-13 13:58:04 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-11-13 13:58:04 +0000 |
commit | 2b179141643e96e622cdf784077d47cc7b94c660 (patch) | |
tree | a922320d2dd055856e20e248ab31e9d04a6f5143 /bin | |
parent | b1bb02f90ad6d37647bea0b089d88ed09c9f2367 (diff) | |
download | drak3d-2b179141643e96e622cdf784077d47cc7b94c660.tar drak3d-2b179141643e96e622cdf784077d47cc7b94c660.tar.gz drak3d-2b179141643e96e622cdf784077d47cc7b94c660.tar.bz2 drak3d-2b179141643e96e622cdf784077d47cc7b94c660.tar.xz drak3d-2b179141643e96e622cdf784077d47cc7b94c660.zip |
add --force option to force 3D desktop enabling even if not supported
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/drak3d | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -43,12 +43,14 @@ my $running_wm = any::running_window_manager(); my $o_method; my $o_wm; +my $force; GetOptions( "method=s" => \$o_method, "wm=s" => \$o_wm, + "force" => \$force, ) or warn "invalid options"; -my $use_arguments = !$o_method || $glx->{capabilities}{$o_method}; +my $use_arguments = $force || !$o_method || $glx->{capabilities}{$o_method}; $glx->{method} = $use_arguments && $o_method if $o_method; $glx->{wm} = $use_arguments && $o_wm if $o_wm; |