소스 검색

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));