cocoa_common: update for new fullscreen changes

This commit adapts the cocoa side to the changes in d2a0b31bc025.