Fix resize with monitors in portrait mode
Fix resize with monitors in portrait mode

When connecting or disconnecting a portrait monitor, the
XRRScreenChangeNotifyEvent height and width are reversed; handle the event
correctly.

Based on upstream commit 7a604ec1fae1eda36f210a28a2cf466583a9cb87.

Miciah/slock-pam