add display/resizable support to Linux

add display/resizable support to Linux
Merge pull request #315 from adolson/patch-2

add display/resizable support to Linux