Przeglądaj źródła

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

Andreas Kling 4 lat temu
rodzic
commit
085da369ff
1 zmienionych plików z 1 dodań i 0 usunięć
  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));