Is there a way for emacs to receive display changes notification from the windows manager? I understand this might be an OS dependent question, so I'm particularly interested in the interaction between emacs and Gnome 3 windows manager (on Linux of course).
I'd like emacs to invoke certain functions when such event occurs.