Get the size of the desktop display

def get_desktop_size(self):
        """Get the size of the desktop display"""

        _ptr = ffi.new('SDL_DisplayMode *')
        check_int_err(lib.SDL_GetDesktopDisplayMode(self._index, _ptr))
        return (_ptr.w, _ptr.h)