ladybird/Services
Andreas Kling 2ce2c4810a LibIPC+WindowServer+LibGUI: Detect and highlight unresponsive GUI apps
IPC::ClientConnection now tracks the time since the last time we got
a message from the client and calls a virtual function on itself after
3 seconds: may_have_become_unresponsive().

Subclasses of ClientConnection can then react to this if they like.

We use this mechanism in WindowServer to send out a friendly Ping
message to the client. If he doesn't Pong within 1 second, we mark
the client as "unresponsive" and recompose all of his windows with
a darkened appearance and amended title until he Pongs us.

This is a little on the aggressive side and we should figure out a way
to wake up less often. Perhaps this could only be done to windows the
user is currently interacting with, for example.

Anyways, this is pretty cool! :^)
2020-06-11 22:46:49 +02:00
..
AudioServer Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
Clipboard LibIPC: Allow opt-in UTF-8 validation on message parameters 2020-05-16 14:13:09 +02:00
DHCPClient Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
LaunchServer LibIPC+Services: Support URL as a native IPC type 2020-06-07 22:55:33 +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 LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
ProtocolServer LibIPC+Services: Support URL as a native IPC type 2020-06-07 22:55:33 +02:00
SystemMenu LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
SystemServer SystemServer: Add support for accepting socket connections :^) 2020-06-09 21:12:34 +02:00
Taskbar LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
TelnetServer Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
WebServer AK: Rename FileSystemPath -> LexicalPath 2020-05-26 14:35:10 +02:00
WindowServer LibIPC+WindowServer+LibGUI: Detect and highlight unresponsive GUI apps 2020-06-11 22:46:49 +02:00
CMakeLists.txt Base: Replace TTYServer with text mode Shell 2020-05-27 11:19:38 +02:00