Merge pull request #26 from tfg13/master

fix: correctly parse current config with xrandr 1.4
This commit is contained in:
Brian Matzon 2013-04-27 16:47:48 -07:00
commit ea1ee59996
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ public class XRandR
name = sa[ 0 ];
// record the current config
parseScreen( currentList, name, sa[ 2 ] );
parseScreen( currentList, name, "primary".equals(sa[ 2 ]) ? sa[ 3 ] : sa[ 2 ] );
}
else if( Pattern.matches( "\\d*x\\d*", sa[ 0 ] ) )
{