浏览代码

Assistant: Force the window to have a shadow despite being frameless

Andreas Kling 4 年之前
父节点
当前提交
085da369ff
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Userland/Applications/Assistant/main.cpp

+ 1 - 0
Userland/Applications/Assistant/main.cpp

@@ -294,6 +294,7 @@ int main(int argc, char** argv)
     };
 
     window->set_frameless(true);
+    window->set_forced_shadow(true);
     window->resize(GUI::Desktop::the().rect().width() / 3, 46);
     window->center_on_screen();
     window->move_to(window->x(), window->y() - (GUI::Desktop::the().rect().height() * 0.33));