Properly pick the output when setting it inactive.
commitb4b02b5142e0f7f72ceff9125d8c2817ecf9b0a7
authorzwabel <zwabel@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>
Sun, 18 Jan 2009 19:14:04 +0000 (18 19:14 +0000)
committerzwabel <zwabel@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>
Sun, 18 Jan 2009 19:14:04 +0000 (18 19:14 +0000)
tree3f662b69b38c09d49254cdbf2c95fe9be0822b77
parent02d1d3119675aaee74a78f17ca89d8e398d1ab9d
Properly pick the output when setting it inactive.
This bug caused serious problems together with NVIDIA multi-screen setups(In my case, the panel disappeared): When an additional screen was added, the output was added here and set active, but when it was removed again, the output was not set inactive, which made the output-logic combine both screens into one bigger screen with wrong, larger, size.

git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/KDE/kdebase@913095 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
workspace/libs/kephal/outputs/desktopwidget/desktopwidgetoutputs.cpp