1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 06:18:12 +00:00
serenity/Userland/Services/WindowServer
kleines Filmröllchen bc2f738a84 WindowServer: Make window frame flashing use the highlight color
Now, when windows flash, the "active" color of the window title frame's
flash is the highlight color instead of the standard window color. The
"inactive" color of the flash is still the disabled color as before.

Reasoning behind this change in aesthetics: There are four [1] window
title frame colors with specific UI purposes:
1. "Active" for the normal active window, obvious purpose.
2. "Moving" for the window that is being dragged or resized by the user.
   Responsible for acting as a visual click feedback as a kind of
   subdued button.
3. "Inactive" for any inactive windows, obvious purpose.
4. "Highlight".

The purpose of "Highlight" is in the name, though it's non-obvious what
that exactly entails. Before, only alt-tab selecting windows would use
the highlight color for showing the current target window. In my opinion
this points to the purpose of "highlight" being to move the user's focus
to another window when the simple active state is not enough. Then it
makes sense to have the window flashing use the highlight color. The
entire purpose of window flashing is to shift the user's focus to a
dialog window that might not be close to the window they just clicked.
Using the highlight color enables an even stronger emphasis than before.
It enables a cleaner separation between the purpose of the two frame
colors, as well as making the "Highlight" frame more common.

[1] Technically there are eight, as the title frame has a gradient by
default. We can count the gradient as one color for this purpose.
2022-05-11 21:00:39 +02:00
..
Animation.cpp WindowServer: Fix animation crash 2022-03-18 20:00:30 +01:00
Animation.h WindowServer: Fix animation crash 2022-03-18 20:00:30 +01:00
AppletManager.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
AppletManager.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Button.cpp WindowServer: Support hover icons for title buttons 2022-05-03 22:00:14 +02:00
Button.h WindowServer: Support hover icons for title buttons 2022-05-03 22:00:14 +02:00
CMakeLists.txt WindowServer: Create the VirtualScreenBackend 2022-04-21 13:41:55 +02:00
Compositor.cpp WindowServer: Use FB_IOCTL_FLUSH_HEAD to flush a framebuffer if possible 2022-05-05 20:55:57 +02:00
Compositor.h LibGfx: Move other font-related files to LibGfx/Font/ 2022-04-09 23:48:18 +02:00
ConnectionFromClient.cpp WindowServer: Consider screen scaling when getting color under cursor 2022-05-08 16:36:24 +02:00
ConnectionFromClient.h DisplaySettings+WindowServer: Allow updating theme without background 2022-04-03 12:58:46 +02:00
Cursor.cpp Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
Cursor.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Event.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
EventLoop.cpp Services: Use default constructors/destructors 2022-03-24 20:09:26 -07:00
EventLoop.h Services: Use default constructors/destructors 2022-03-24 20:09:26 -07:00
HardwareScreenBackend.cpp Everywhere: Purge all support and usage of framebuffer devices 2022-05-05 20:55:57 +02:00
HardwareScreenBackend.h Everywhere: Purge all support and usage of framebuffer devices 2022-05-05 20:55:57 +02:00
HitTestResult.h WindowServer: Make hit test results richer 2021-06-18 17:40:05 +02:00
KeymapSwitcher.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
KeymapSwitcher.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
main.cpp Everywhere: Purge all support and usage of framebuffer devices 2022-05-05 20:55:57 +02:00
Menu.cpp WindowServer: Take vertical menu offset into account when adjusting pos 2022-05-05 21:54:53 +02:00
Menu.h LibGfx: Move other font-related files to LibGfx/Font/ 2022-04-09 23:48:18 +02:00
Menubar.cpp LibGUI, WindowServer: Greatly simplify menubar logic 2021-08-02 00:39:15 +02:00
Menubar.h WindowServer: Update menu buttons' rects on font change 2022-03-14 22:29:57 +01:00
MenuItem.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
MenuItem.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
MenuManager.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
MenuManager.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
MultiScaleBitmaps.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
MultiScaleBitmaps.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
Overlays.cpp WindowServer: Pick font with glyphs for digits for ScreenNumberOverlay 2022-01-17 02:10:09 +01:00
Overlays.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Screen.cpp WindowServer: Separate physical resolution from scaling factors 2022-05-06 23:38:08 +02:00
Screen.h WindowServer: Separate physical resolution from scaling factors 2022-05-06 23:38:08 +02:00
ScreenBackend.h Everywhere: Purge all support and usage of framebuffer devices 2022-05-05 20:55:57 +02:00
ScreenLayout.cpp WindowServer: Add API to set/get screen layouts 2021-06-20 14:57:26 +02:00
ScreenLayout.h Everywhere: Purge all support and usage of framebuffer devices 2022-05-05 20:55:57 +02:00
ScreenLayout.ipp Everywhere: Purge all support and usage of framebuffer devices 2022-05-05 20:55:57 +02:00
VirtualScreenBackend.cpp Everywhere: Purge all support and usage of framebuffer devices 2022-05-05 20:55:57 +02:00
VirtualScreenBackend.h Everywhere: Purge all support and usage of framebuffer devices 2022-05-05 20:55:57 +02:00
Window.cpp WindowServer+LibGUI: Notify windows when their maximized state changes 2022-04-05 17:45:07 +02:00
Window.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
WindowClient.ipc WindowServer+LibGUI: Notify windows when their maximized state changes 2022-04-05 17:45:07 +02:00
WindowFrame.cpp WindowServer: Make window frame flashing use the highlight color 2022-05-11 21:00:39 +02:00
WindowFrame.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
WindowManager.cpp WindowServer: Remove hack to restore graphics after switch from console 2022-05-06 18:05:14 +02:00
WindowManager.h DisplaySettings+WindowServer: Allow updating theme without background 2022-04-03 12:58:46 +02:00
WindowManagerClient.ipc LibGUI+WindowServer: Add new WMEvent Super+Digit 2022-02-24 18:57:20 +00:00
WindowManagerServer.ipc Everywhere: Replace "virtual desktop" => "workspace" 2021-11-13 12:48:43 +01:00
WindowServer.ipc DisplaySettings+WindowServer: Allow updating theme without background 2022-04-03 12:58:46 +02:00
WindowStack.cpp Services: Use default constructors/destructors 2022-03-24 20:09:26 -07:00
WindowStack.h Services: Use default constructors/destructors 2022-03-24 20:09:26 -07:00
WindowSwitcher.cpp LibGfx: Move other font-related files to LibGfx/Font/ 2022-04-09 23:48:18 +02:00
WindowSwitcher.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
WindowType.h WindowServer: Add sanity checks to create_window IPC 2021-06-03 08:27:57 +02:00
WMConnectionFromClient.cpp Userland: Rename IPC ClientConnection => ConnectionFromClient 2022-02-25 22:35:12 +01:00
WMConnectionFromClient.h Userland: Rename IPC ClientConnection => ConnectionFromClient 2022-02-25 22:35:12 +01:00