Skip to content
Commit 96db1a9a authored by Sebastian Kügler's avatar Sebastian Kügler
Browse files

correct possibly invalid current mode

When we get config change events, the list of modes might have changed.
This happens for resizing virtual machine windows, for example). The
current mode may now be invalid, in that case we set the output to the
preferred mode (which in that case is the vm window's size).

cherry-picked from master 23006c1b

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D2155
parent 50b0092e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment