mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:17:45 +00:00
Userland: Make GUI::Window
construction non-fallible
This commit is contained in:
parent
b6b2c6f3e2
commit
0d7b13edac
55 changed files with 60 additions and 60 deletions
|
@ -14,7 +14,7 @@ static constexpr int mouse_tracking_delay_milliseconds = 750;
|
|||
|
||||
ErrorOr<NonnullRefPtr<GUI::Window>> Screensaver::create_window(StringView title, StringView icon)
|
||||
{
|
||||
auto window = TRY(GUI::Window::try_create());
|
||||
auto window = GUI::Window::construct();
|
||||
window->set_double_buffering_enabled(false);
|
||||
window->set_frameless(true);
|
||||
window->set_fullscreen(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue