Link in X11 libraries and integrate with XRandR to change the screen size.