ladybird/Services
Linus Groh 895ab8e745 WindowServer: Take MenuApplet windows into account for hovered_window
This finally makes tooltips on menu applets the same as everywhere else!

Here's what went wrong:
WindowManager::process_mouse_event() receives a Window*&, determines the
hovered window and sets it accordingly. However there's a branch that
tests for menubar_rect().contains(event.position()) and returns early -
which resulted in hovered_window never being set to any MenuApplet
window, even hovered ones.

The hovered_window result is being used in WindowManager::event() and
passed to WindowManager::set_hovered_window(), which is responsible for
creating WindowLeft and WindowEntered events when the hovered window
changes, as a result of the mentioned chain of events this also never
happens for MenuApplet windows.
The WindowLeft event would the cause Window::handle_left_event() in
LibGUI to be called, which unsets the window's hovered widget, which
is necessary for the widget to receive a subsequent Enter event -
again, all of this never happened.

Now it's working as expected though, so we can start using tooltips on
menu applets :^)
2020-08-14 10:28:03 +02:00
..
AudioServer AudioServer: Lock the process veil after startup 2020-08-07 09:10:14 +02:00
Clipboard LibIPC+Services: Make ClientConnection take socket as NonnullRefPtr 2020-07-06 13:30:11 +02:00
DHCPClient AK: JsonParser improvements 2020-06-13 12:43:22 +02:00
ImageDecoder LibIPC+Services: Make ClientConnection take socket as NonnullRefPtr 2020-07-06 13:30:11 +02:00
LaunchServer LaunchServer: Disown child processes after spawning 2020-08-04 18:17:16 +02:00
LookupServer Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
NotificationServer Services: Mark compilation-unit-only functions as static 2020-08-12 20:40:59 +02:00
ProtocolServer ProtocolServer+LibTLS: Pipe certificate requests from LibTLS to clients 2020-08-02 18:57:51 +02:00
SystemMenu SystemMenu: Disown child processes after spawning 2020-08-04 18:17:16 +02:00
SystemServer SystemServer: Fix typo (exist -> exit) (#2615) 2020-06-23 14:52:15 +02:00
Taskbar Taskbar: Disown quick-launched programs 2020-08-04 18:17:16 +02:00
TelnetServer Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
WebContent LibWeb: Send key events to the WebContent process 2020-08-03 19:58:59 +02:00
WebServer WebServer: Show icons in directory listings :^) 2020-07-27 22:39:01 +02:00
WindowServer WindowServer: Take MenuApplet windows into account for hovered_window 2020-08-14 10:28:03 +02:00
CMakeLists.txt ImageDecoder: Add a new service for out-of-process image decoding :^) 2020-06-22 21:47:00 +02:00