I recently upgraded to Xubuntu 14.04 on my laptop. Prior to 14.04, I used xrandr (through a script) to configure my preferred layout, which involved an external VGA monitor and the built in laptop monitor. Prior to 14.04, when I closed the lid with that layout active, the layout remained the same (ie, the built-in monitor was off, but still present in the layout).
After upgrading to 14.04, my xrandr layout is retained only for as long as I don't close the lid on the laptop. After the lid is closed, the external monitor is reconfigured as the only display. After the lid is reopened, Xfce seems to restore whatever configuration I had set for the two monitors in the displays dialog prior to closing the lid. This is suboptimal for me, as I cannot make the monitors bottom-aligned through that dialog, which is why I'd prefer my xrandr layout be respected through lid closes.
A previous question suggests looking into ACPI configuration and removing lid close scripts there, but I seem to have no scripts that do anything with the lid in /etc/acpi. I also haven't been able to find anything to do with lid closes in /etc/udev. Xfce power manager is set to do nothing with lid closes, and that setting seems to be respected – if I set it to suspend, it suspends. The "Configure new displays when connected" checkbox in Xfce display settings is unchecked.