1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 08:28:11 +00:00
serenity/Userland/Services/WindowServer
Ben Wiederhake 2de471b9f0 WindowServer: Fix many subtle bugs in tiling/maximizing
- Unmaximization/untiling had nearly but not quite code duplication;
  this patch replaces the actual "regrabbing" logic with Rect::set_size_around.
- When undoing maximization/untiling, it used to be possible to to grab a window
  "outside" of its frame, and thus drag it off the screen. This is no longer
  possible. Fixes #4644.
- As a side effect, when untiling from the bottom/left/right, the regrab is now
  a much smoother experience.
- Setting the resize aspect ratio while being tiled now untiles and umaximizes
  the window, as these things are incompatible. Fixes an undocumented bug
  (steps to reproduce: maximize, then set aspect ratio).
- When unmaximizing, spurious WindowLeft events were sent, because that path
  didn't set hovered_window. Fixes an undocumented bug.

Since these things are interwoven, this is all a single commit.
2021-01-23 08:34:17 +01:00
..
AppletManager.cpp Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
AppletManager.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
Button.cpp Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
Button.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
ClientConnection.cpp WindowServer: Normalize preferred rect before applying 2021-01-23 08:34:17 +01:00
ClientConnection.h Kernel+LibC+WindowServer: Remove unused thread/process boost mechanism 2021-01-16 14:52:04 +01:00
CMakeLists.txt Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
Compositor.cpp WindowServer: Don't crash on wallpapers smaller than the desktop with fill mode 'simple' 2021-01-23 08:31:41 +01:00
Compositor.h WindowServer: Rename WallpaperMode::{Scaled => Stretch} 2021-01-20 09:16:27 +01:00
Cursor.cpp Everywhere: Replace a bundle of dbg with dbgln. 2021-01-22 22:14:30 +01:00
Cursor.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
Event.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
EventLoop.cpp Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
EventLoop.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
main.cpp Everywhere: Remove more <AK/SharedBuffer.h> includes 2021-01-17 00:04:42 +01:00
Menu.cpp Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
Menu.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
MenuBar.cpp Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
MenuBar.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
MenuItem.cpp Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
MenuItem.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
MenuManager.cpp Everywhere: Replace a bundle of dbg with dbgln. 2021-01-22 22:14:30 +01:00
MenuManager.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
Screen.cpp Everywhere: Replace a bundle of dbg with dbgln. 2021-01-22 22:14:30 +01:00
Screen.h WindowServer: Make HighDPI aware 2021-01-15 19:10:16 +01:00
Window.cpp WindowServer: Fix many subtle bugs in tiling/maximizing 2021-01-23 08:34:17 +01:00
Window.h WindowServer: Fix many subtle bugs in tiling/maximizing 2021-01-23 08:34:17 +01:00
WindowClient.ipc WindowServer+LibGUI: Pass the system theme using Core::AnonymousBuffer 2021-01-16 17:20:53 +01:00
WindowFrame.cpp WindowServer: In HighDPI mode, load high-res window buttons and high-res cursors 2021-01-20 10:28:27 +01:00
WindowFrame.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
WindowManager.cpp WindowServer: Fix many subtle bugs in tiling/maximizing 2021-01-23 08:34:17 +01:00
WindowManager.h WindowServer: In HighDPI mode, load high-res window buttons and high-res cursors 2021-01-20 10:28:27 +01:00
WindowServer.ipc WindowServer+LibGUI: Pass the system theme using Core::AnonymousBuffer 2021-01-16 17:20:53 +01:00
WindowSwitcher.cpp Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
WindowSwitcher.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
WindowType.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00