Commit e370fcb2 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

Simplify Toplevel::addRepaintFull()

This avoids mapping the visible rect between the window local
coordinates and the global coordinates back and forth.
parent b918361a
......@@ -467,7 +467,7 @@ void Toplevel::addLayerRepaint(const QRegion &region)
void Toplevel::addRepaintFull()
{
addRepaint(visibleRect().translated(-pos()));
addLayerRepaint(visibleRect());
}
void Toplevel::addWorkspaceRepaint(int x, int y, int w, int h)
......
Markdown is supported
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