瀏覽代碼

WindowServer: Remove unnecessary clang-format disabler comment

Andreas Kling 4 年之前
父節點
當前提交
a94d1626b5
共有 1 個文件被更改,包括 0 次插入6 次删除
  1. 0 6
      Services/WindowServer/Compositor.cpp

+ 0 - 6
Services/WindowServer/Compositor.cpp

@@ -227,12 +227,6 @@ void Compositor::compose()
     };
     };
 
 
     auto prepare_transparency_rect = [&](const Gfx::IntRect& rect) {
     auto prepare_transparency_rect = [&](const Gfx::IntRect& rect) {
-    // clang-format off
-        // FIXME: clang-format gets confused here. Why?
-        // This function may be called multiple times with the same
-        // rect as we walk the window stack from back to front. However,
-        // there should be no overlaps with flush_rects
-    // clang-format on
 #ifdef COMPOSE_DEBUG
 #ifdef COMPOSE_DEBUG
         dbg() << "   -> flush transparent: " << rect;
         dbg() << "   -> flush transparent: " << rect;
 #endif
 #endif