[apps] Fix bug: redraw window if alpha shift mode has changed

Change-Id: I27e450d007b3adbd96ae95026f0fa6e4016ee6bb
This commit is contained in:
Émilie Feral
2017-07-28 11:28:39 +02:00
parent f68b40d99d
commit ac8df4f791

View File

@@ -119,6 +119,10 @@ bool AppsContainer::dispatchEvent(Ion::Events::Event event) {
m_suspendTimer.reset();
Ion::Backlight::setBrightness(Ion::Backlight::MaxBrightness);
}
if (!didProcessEvent && alphaLockWantsRedraw) {
window()->redraw();
return true;
}
return didProcessEvent || alphaLockWantsRedraw;
}