summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-07-04 23:11:06 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-04 23:15:17 +0200
commit085da369ff8b071d970f4b42348f3e8f12fa60f6 (patch)
tree95e2d5637d279ea5ed34c0177f6cb2489127e0f8
parentc2dfa9d54c8dce71c2873b737c2ac4719251e402 (diff)
downloadserenity-085da369ff8b071d970f4b42348f3e8f12fa60f6.zip
Assistant: Force the window to have a shadow despite being frameless
-rw-r--r--Userland/Applications/Assistant/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Applications/Assistant/main.cpp b/Userland/Applications/Assistant/main.cpp
index 1309831c22..743dc75188 100644
--- a/Userland/Applications/Assistant/main.cpp
+++ b/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));