ladybird/Services/WindowServer
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
..
AppletManager.cpp LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
AppletManager.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
Button.cpp LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
Button.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
ClientConnection.cpp LibIPC+WindowServer+LibGUI: Detect and highlight unresponsive GUI apps 2020-06-11 22:46:49 +02:00
ClientConnection.h LibIPC+WindowServer+LibGUI: Detect and highlight unresponsive GUI apps 2020-06-11 22:46:49 +02:00
CMakeLists.txt Clipboard: Move the system clipboard to a dedicated service process :^) 2020-05-14 22:53:58 +02:00
Compositor.cpp LibIPC+WindowServer+LibGUI: Detect and highlight unresponsive GUI apps 2020-06-11 22:46:49 +02:00
Compositor.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
Cursor.cpp LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
Cursor.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
Event.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
EventLoop.cpp Clipboard: Move the system clipboard to a dedicated service process :^) 2020-05-14 22:53:58 +02:00
EventLoop.h Services: Renamed from Servers 2020-05-08 21:57:44 +02:00
main.cpp WindowServer: Make perror() strings slightly more detailed. 2020-06-05 09:29:19 +02:00
Menu.cpp LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
Menu.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
MenuBar.cpp Services: Renamed from Servers 2020-05-08 21:57:44 +02:00
MenuBar.h Services: Renamed from Servers 2020-05-08 21:57:44 +02:00
MenuItem.cpp LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
MenuItem.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
MenuManager.cpp LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
MenuManager.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
Screen.cpp WindowsServer: Add scancode value to KeyEvent 2020-06-03 21:52:40 +02:00
Screen.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
Window.cpp LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
Window.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
WindowClient.ipc LibIPC+WindowServer+LibGUI: Detect and highlight unresponsive GUI apps 2020-06-11 22:46:49 +02:00
WindowFrame.cpp LibIPC+WindowServer+LibGUI: Detect and highlight unresponsive GUI apps 2020-06-11 22:46:49 +02:00
WindowFrame.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
WindowManager.cpp LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
WindowManager.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
WindowServer.ipc LibIPC+WindowServer+LibGUI: Detect and highlight unresponsive GUI apps 2020-06-11 22:46:49 +02:00
WindowSwitcher.cpp LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
WindowSwitcher.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
WindowType.h Services: Renamed from Servers 2020-05-08 21:57:44 +02:00