Skip to content
  • Marshall Greenblatt's avatar
    Windows: Fix behavior of frameless windows with Views. · 9928036f
    Marshall Greenblatt authored
    - Don't set InitParams::TRANSLUCENT_WINDOW. Setting this resulted in
      the WS_EX_COMPOSITED style being added and the WS_THICKFRAME style
      being removed, which disabled Aero Snap.
    - Remove the non-client border to get a completely frameless window.
      Having a border is problematic because the top is drawn by Windows
      while the rest is drawn black. Having Windows draw part of the
      border is required to enable the window drop shadow (see
      HWNDMessageHandler::SetDwmFrameExtension).
    - Delete the remove_caption patches which are no longer required.
    9928036f