Fix resize with multiple monitors and portrait mode
authorBob Uhl <buhl@zvelo.com>
Mon, 7 Nov 2016 17:15:20 +0000 (10:15 -0700)
committerMarkus Teich <teichm@fs.tum.de>
Tue, 22 Nov 2016 23:26:51 +0000 (00:26 +0100)
commit7a604ec1fae1eda36f210a28a2cf466583a9cb87
tree1dd4997fb189f8fe58789a0b927e6108de173632
parentfa1158958466f38cd35c9114023a0175e67ebb6f
Fix resize with multiple monitors and portrait mode

When connecting/disconnecting a portrait monitor, the
XRRScreenChangeNotifyEvent height & width are reversed due to the XRandR
rotation; detect this and DTRT.
slock.c