ladybird/Servers
Ben Wiederhake 124cbea347 WindowServer: Fix 'Maximize' Button
When a window is maximized by clicking the 'maximize' button in the window frame,
the WindowFrame *is* invalidated and repainted properly. However, the internal
state of the WindowServer::Button does not get updated until the next mouse
movement. This means that the 'maximize' button is erroneously highlighted until
the mouse moves again. This is very visible.

Ideally, a patch should compute the actual new m_hovered. However, this requires
knowledge of the new rect, or calling something on the Button after the new rect
has been determined. Until someone can figure out a good way around this,
setting m_hovered to false is a solution that 'usually' works.

Note that this does *not* work when after maximizing/restoring, the maximize
button falls exactly under the mouse again. The button functions properly, but
is erroneously not highlighted.

At least a *missing* highlight is less noticable than a highlight too many.
2020-05-07 22:15:16 +02:00
..
AudioServer AudioServer: Use NumericLimits<T> 2020-04-15 16:58:46 +02:00
DHCPClient LibCore: Add Core::Timer::create_single_shot() 2020-04-07 23:01:43 +02:00
LookupServer LookupServer: Only pass A record responses to clients 2020-05-03 14:24:54 +02:00
NotificationServer WindowServer+NotificationServer: Vertical title bar for notifications 2020-03-30 17:03:15 +02:00
ProtocolServer ProtocolServer: Report success after stopping a download 2020-05-05 23:56:20 +02:00
SystemServer SystemServer: Bump the default listening socket backlog to 16 2020-05-02 15:59:37 +02:00
TelnetServer
TTYServer
WebServer LibCore+LibHTTP: Move out the HTTP handler and add HTTPS 2020-05-02 12:24:10 +02:00
WindowServer WindowServer: Fix 'Maximize' Button 2020-05-07 22:15:16 +02:00
Makefile Build: Only look at SUBDIRS with Makefiles 2020-02-25 19:56:48 +01:00