summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorBob Uhl <buhl@zvelo.com>2016-11-07 10:15:20 -0700
committerMarkus Teich <teichm@fs.tum.de>2016-11-23 00:26:51 +0100
commit7a604ec1fae1eda36f210a28a2cf466583a9cb87 (patch)
tree1dd4997fb189f8fe58789a0b927e6108de173632 /util.h
parentfa1158958466f38cd35c9114023a0175e67ebb6f (diff)
downloadslock-7a604ec1fae1eda36f210a28a2cf466583a9cb87.tar.gz
slock-7a604ec1fae1eda36f210a28a2cf466583a9cb87.tar.bz2
slock-7a604ec1fae1eda36f210a28a2cf466583a9cb87.zip
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.
Diffstat (limited to 'util.h')
0 files changed, 0 insertions, 0 deletions
Software created with 💖