1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:07:34 +00:00
serenity/Userland/Services/WindowServer
Andreas Kling 6a132d8672 WindowServer+LibGUI: Allow specifying a "launch origin" for new windows
The launch_origin_rect parameter to create_window() specifies where on
screen the window was launched from. It's optional, but if you provide
it, the new window will have a short wireframe animation from the origin
to the initial window frame rect.

GUI::Window looks for the "__libgui_launch_origin_rect" environment
variable. Put your launch origin rect in there with the format
"<x>,<y>,<width>,<height>" and the first GUI::Window shown by the app
will use that as the launch origin rect.

Also it looks pretty neat, although I'm sure we can improve it. :^)
2021-06-27 19:38:11 +02:00
..
Animation.cpp WindowServer: Add a more generic mechanism for animations 2021-06-27 19:38:11 +02:00
Animation.h WindowServer: Add a more generic mechanism for animations 2021-06-27 19:38:11 +02:00
AppletManager.cpp Taskbar+LibGUI+WindowServer: Shrink taskbar by one pixel 2021-05-09 00:11:37 +02:00
AppletManager.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Button.cpp WindowServer: Load multiple scaled versions of Bitmaps and Cursors 2021-06-20 14:57:26 +02:00
Button.h WindowServer: Load multiple scaled versions of Bitmaps and Cursors 2021-06-20 14:57:26 +02:00
ClientConnection.cpp WindowServer+LibGUI: Allow specifying a "launch origin" for new windows 2021-06-27 19:38:11 +02:00
ClientConnection.h WindowServer+LibGUI: Allow specifying a "launch origin" for new windows 2021-06-27 19:38:11 +02:00
CMakeLists.txt WindowServer: Add a more generic mechanism for animations 2021-06-27 19:38:11 +02:00
Compositor.cpp WindowServer: Add a more generic mechanism for animations 2021-06-27 19:38:11 +02:00
Compositor.h WindowServer: Add a more generic mechanism for animations 2021-06-27 19:38:11 +02:00
Cursor.cpp WindowServer: Fix animated cursor regression 2021-06-21 16:52:29 +02:00
Cursor.h WindowServer: Fix animated cursor regression 2021-06-21 16:52:29 +02:00
Event.h WindowServer: Preserve all members in MouseEvent::translated() 2021-06-18 17:40:05 +02:00
EventLoop.cpp WindowServer: Add initial support for rendering on multiple screens 2021-06-20 14:57:26 +02:00
EventLoop.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
HitTestResult.h WindowServer: Make hit test results richer 2021-06-18 17:40:05 +02:00
main.cpp WindowServer: Try to auto-add unconfigured framebuffer devices 2021-06-27 09:46:27 +02:00
Menu.cpp WindowServer: Add initial support for rendering on multiple screens 2021-06-20 14:57:26 +02:00
Menu.h WindowServer: Add Menu::is_open() to improve readability 2021-05-17 23:28:15 +02:00
Menubar.cpp Everywhere: Replace Vector<T*> with nonnull entries with Vector<T&> 2021-06-08 19:14:24 +02:00
Menubar.h Everywhere: Replace Vector<T*> with nonnull entries with Vector<T&> 2021-06-08 19:14:24 +02:00
MenuItem.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
MenuItem.h WindowServer: Fix a handful of clang-tidy warnings in the menu code 2021-05-09 15:47:21 +02:00
MenuManager.cpp WindowServer: Make deliver_mouse_event() perform coordinate translation 2021-06-18 17:40:05 +02:00
MenuManager.h Everywhere: Replace Vector<T*> with nonnull entries with Vector<T&> 2021-06-08 19:14:24 +02:00
MultiScaleBitmaps.cpp WindowServer: Add an Overlay class for flicker-free overlay rendering 2021-06-25 20:38:13 +02:00
MultiScaleBitmaps.h WindowServer: Add an Overlay class for flicker-free overlay rendering 2021-06-25 20:38:13 +02:00
Overlays.cpp WindowServer: Fix geometry label not updating if it isn't moving 2021-06-27 09:37:07 +02:00
Overlays.h WindowServer: Fix geometry label not updating if it isn't moving 2021-06-27 09:37:07 +02:00
Screen.cpp WindowServer: Coalesce flushing buffers into one ioctl() call 2021-06-27 09:46:27 +02:00
Screen.h WindowServer: Coalesce flushing buffers into one ioctl() call 2021-06-27 09:46:27 +02:00
ScreenLayout.cpp WindowServer: Add API to set/get screen layouts 2021-06-20 14:57:26 +02:00
ScreenLayout.h WindowServer: Try to auto-add unconfigured framebuffer devices 2021-06-27 09:46:27 +02:00
ScreenLayout.ipp WindowServer: Try to auto-add unconfigured framebuffer devices 2021-06-27 09:46:27 +02:00
Window.cpp WindowServer+LibGUI: Allow specifying a "launch origin" for new windows 2021-06-27 19:38:11 +02:00
Window.h WindowServer+LibGUI: Allow specifying a "launch origin" for new windows 2021-06-27 19:38:11 +02:00
WindowClient.ipc WindowServer: Add initial support for rendering on multiple screens 2021-06-20 14:57:26 +02:00
WindowFrame.cpp WindowServer: Enhance simple shadow function to include optional frame 2021-06-25 20:38:13 +02:00
WindowFrame.h WindowServer: Enhance simple shadow function to include optional frame 2021-06-25 20:38:13 +02:00
WindowManager.cpp WindowServer: Change rendering drag&drop to use the Overlay class 2021-06-25 20:38:13 +02:00
WindowManager.h WindowServer: Change rendering drag&drop to use the Overlay class 2021-06-25 20:38:13 +02:00
WindowManagerClient.ipc Userland: Use snake case names in .ipc files 2021-05-03 21:14:40 +02:00
WindowManagerServer.ipc WindowServer+Taskbar: Make all the IPC used by Taskbar asynchronous 2021-05-10 12:26:35 +02:00
WindowServer.ipc WindowServer+LibGUI: Allow specifying a "launch origin" for new windows 2021-06-27 19:38:11 +02:00
WindowStack.cpp WindowServer: Don't include frame when determining hovered window 2021-06-18 17:40:05 +02:00
WindowStack.h WindowServer: Don't include frame when determining hovered window 2021-06-18 17:40:05 +02:00
WindowSwitcher.cpp WindowServer: Add initial support for rendering on multiple screens 2021-06-20 14:57:26 +02:00
WindowSwitcher.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
WindowType.h WindowServer: Add sanity checks to create_window IPC 2021-06-03 08:27:57 +02:00
WMClientConnection.cpp WindowServer: Add initial support for rendering on multiple screens 2021-06-20 14:57:26 +02:00
WMClientConnection.h Userland: Update IPC calls to use proxies 2021-05-03 21:14:40 +02:00