1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:48:11 +00:00
serenity/Userland/Services/WindowServer
ronak69 8d16c7c9b9 WindowServer: Handle latching fix-aspect-ratio window to the screen edge
Double-clicking the edges of a window results in the edge being extended
until it latches to the screen edge. This used to violate the fixed
aspect ratio property of certain windows because of only extending the
window in one dimension.

This commit adds a special case to the latching logic that makes sure to
also extend the other dimension of the window such that the fixed aspect
ratio is maintained.
2024-02-08 14:22:28 +00:00
..
Animation.cpp WindowServer: Only register animations when they're running 2023-04-13 20:18:49 +02:00
Animation.h WindowServer: Only register animations when they're running 2023-04-13 20:18:49 +02:00
AppletManager.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
AppletManager.h Userland: Rename Core::Object to Core::EventReceiver 2023-08-06 20:39:51 +02:00
Button.cpp
Button.h
CMakeLists.txt WindowServer: Fix alt shortcut navigation for non-default keymaps 2023-04-14 12:38:40 +01:00
Compositor.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Compositor.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ConnectionFromClient.cpp LibGUI+WindowServer: Add menu minimum width support 2024-01-29 05:29:41 -07:00
ConnectionFromClient.h LibGUI+WindowServer: Add menu minimum width support 2024-01-29 05:29:41 -07:00
Cursor.cpp WindowServer: Fix various const-correctness issues 2023-02-21 00:54:04 +01:00
Cursor.h WindowServer: Fix various const-correctness issues 2023-02-21 00:54:04 +01:00
Event.h Userland: Actually use the correct character map index from KeyEvent 2023-12-29 16:40:59 +01:00
EventLoop.cpp WindowServer: Read from /dev/input/mice for mouse packets 2024-01-12 16:08:08 -07:00
EventLoop.h WindowServer: Read from /dev/input/mice for mouse packets 2024-01-12 16:08:08 -07:00
HardwareScreenBackend.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
HardwareScreenBackend.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
HitTestResult.h
KeymapSwitcher.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
KeymapSwitcher.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
main.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Menu.cpp LibGUI+WindowServer: Add menu minimum width support 2024-01-29 05:29:41 -07:00
Menu.h LibGUI+WindowServer: Add menu minimum width support 2024-01-29 05:29:41 -07:00
Menubar.cpp
Menubar.h WindowServer: Do not add existing menu items (by ptr) to m_menus 2023-01-07 19:57:57 +00:00
MenuItem.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
MenuItem.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
MenuManager.cpp Userland: Rename Core::Object to Core::EventReceiver 2023-08-06 20:39:51 +02:00
MenuManager.h Userland: Rename Core::Object to Core::EventReceiver 2023-08-06 20:39:51 +02:00
MultiScaleBitmaps.cpp LibGfx: Remove try_ prefix from bitmap creation functions 2023-01-26 20:24:37 +00:00
MultiScaleBitmaps.h
Overlays.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Overlays.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ResizeDirection.h
Screen.cpp Userland: Actually use the correct character map index from KeyEvent 2023-12-29 16:40:59 +01:00
Screen.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ScreenBackend.h Everywhere: Use ReadonlySpan<T> instead of Span<T const> 2023-02-08 19:15:45 +00:00
ScreenLayout.cpp
ScreenLayout.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ScreenLayout.ipp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
SystemEffects.h WindowServer: Don't crash when trying to set invalid effects 2023-06-01 21:17:29 +02:00
VirtualScreenBackend.cpp
VirtualScreenBackend.h Everywhere: Remove unused DeprecatedString includes 2023-04-09 22:00:54 +02:00
Window.cpp Userland: Actually use the correct character map index from KeyEvent 2023-12-29 16:40:59 +01:00
Window.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
WindowClient.ipc Userland: Actually use the correct character map index from KeyEvent 2023-12-29 16:40:59 +01:00
WindowFrame.cpp WindowServer: Handle latching fix-aspect-ratio window to the screen edge 2024-02-08 14:22:28 +00:00
WindowFrame.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
WindowManager.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
WindowManager.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
WindowManagerClient.ipc Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
WindowManagerServer.ipc Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
WindowMode.h WindowServer: Catch more Window stealing misbehavior 2023-05-15 12:15:39 +02:00
WindowServer.ipc LibGUI+WindowServer: Add menu minimum width support 2024-01-29 05:29:41 -07:00
WindowStack.cpp
WindowStack.h
WindowSwitcher.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
WindowSwitcher.h Userland: Rename Core::Object to Core::EventReceiver 2023-08-06 20:39:51 +02:00
WindowType.h
WMConnectionFromClient.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
WMConnectionFromClient.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30