get dimension of default screen via FFI
Merge pull request #9 from chrox/master

get dimension of default screen via FFI