From f07efa16409a1ded324aa2f987d4749657d88264 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 17 Apr 2021 23:27:00 +0200 Subject: [PATCH] Run: Put the window in the bottom left of the desktop This makes a lot more sense now that it's spawned by the start button. --- Userland/Applications/Run/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Userland/Applications/Run/main.cpp b/Userland/Applications/Run/main.cpp index 3513da9d11..049124c31e 100644 --- a/Userland/Applications/Run/main.cpp +++ b/Userland/Applications/Run/main.cpp @@ -27,6 +27,7 @@ #include "RunWindow.h" #include #include +#include #include int main(int argc, char** argv) @@ -45,6 +46,7 @@ int main(int argc, char** argv) auto window = RunWindow::construct(); + window->move_to(12, GUI::Desktop::the().rect().bottom() - GUI::Desktop::the().taskbar_height() - 12 - window->height()); window->show(); return app->exec();