Is there a way to add a hook for when emacs goes full screen? I'd like to set slightly different transparency for the frame when in fullscreen but there seems to be no easy way for that.
What I would want is for emacs to detect it is now in fullscreen and subsequently change its transparency.