1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:17:35 +00:00

WindowServer+LibGUI: Add a way to bring a window to the front.

GWindow::move_to_front() can now be used to move a window to the top of
the window stack.

We use this in Terminal to bring the settings window to the front if it
already exists when it's requested, in case it's hiding behind something.
This commit is contained in:
Andreas Kling 2019-06-01 20:10:37 +02:00
parent 8d7fbbe1fb
commit 51581c21fc
8 changed files with 47 additions and 0 deletions

View file

@ -80,6 +80,7 @@ private:
void handle_request(const WSAPIPopupMenuRequest&);
void handle_request(const WSAPIDismissMenuRequest&);
void handle_request(const WSAPISetWindowHasAlphaChannelRequest&);
void handle_request(const WSAPIMoveWindowToFrontRequest&);
void post_error(const String&);