Fix unredirected windows not redrawn after display resolution change

REVIEW: 109597
BUG: 305781
FIXED-IN: 4.10.2
This commit is contained in:
Alexander Mezin 2013-03-20 13:10:34 +07:00 committed by Martin Gräßlin
parent cd93f3c486
commit ba4ad5c855

View file

@ -82,6 +82,9 @@ void Workspace::desktopResized()
if (effects) { if (effects) {
static_cast<EffectsHandlerImpl*>(effects)->desktopResized(geom.size()); static_cast<EffectsHandlerImpl*>(effects)->desktopResized(geom.size());
} }
//Update the shape of the overlay window to fix redrawing of unredirected windows. bug#305781
m_compositor->checkUnredirect(true);
} }
void Workspace::saveOldScreenSizes() void Workspace::saveOldScreenSizes()