Added a handler for ConfigureNotify events.

This will hopefully keep window layers more consistent then they have
been recently (I've seen Chrome put itself above my system tray, for
example).