diff --git a/src/servers/app/Desktop.cpp b/src/servers/app/Desktop.cpp index 0d02a5e73e..9a30fcb702 100644 --- a/src/servers/app/Desktop.cpp +++ b/src/servers/app/Desktop.cpp @@ -1230,16 +1230,12 @@ Desktop::MoveWindowBy(WindowLayer* window, float x, float y) // moved into the dirty region (for now) newDirtyRegion.Include(&window->VisibleRegion()); - if (GetDrawingEngine()->Lock()) { - GetDrawingEngine()->CopyRegion(©Region, x, y); + GetDrawingEngine()->CopyRegion(©Region, x, y); - // in the dirty region, exclude the parts that we - // could move by blitting - copyRegion.OffsetBy(x, y); - newDirtyRegion.Exclude(©Region); - - GetDrawingEngine()->Unlock(); - } + // in the dirty region, exclude the parts that we + // could move by blitting + copyRegion.OffsetBy(x, y); + newDirtyRegion.Exclude(©Region); MarkDirty(newDirtyRegion); _SetBackground(background);