mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-21 09:49:21 +00:00
Assistant: Force the window to have a shadow despite being frameless
This commit is contained in:
parent
c2dfa9d54c
commit
085da369ff
Notes:
sideshowbarker
2024-07-18 10:26:05 +09:00
Author: https://github.com/awesomekling
Commit: 085da369ff
1 changed files with 1 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue