diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | matchbox/core/mb-wm-client.c | 6 |
2 files changed, 10 insertions, 4 deletions
@@ -1,3 +1,11 @@ +2008-07-31 Robert Bragg <bob@o-hand.com> + + * matchbox/core/mb-wm-client.c: + Plumbs in a call to mb_wm_handle_hang_client in + mb_wm_client_ping_timeout_cb, so that derivative managers can now just + implement wm_class->client_responding and wm_class->client_hang to + handle unresponsive clients. + 2008-07-30 Robert Bragg <bob@o-hand.com> * matchbox/core/mb-wm-client.c: diff --git a/matchbox/core/mb-wm-client.c b/matchbox/core/mb-wm-client.c index 092803a..0791060 100644 --- a/matchbox/core/mb-wm-client.c +++ b/matchbox/core/mb-wm-client.c @@ -740,11 +740,9 @@ mb_wm_client_ping_timeout_cb (void * userdata) { MBWindowManagerClient * client = userdata; - /* TODO - support displaying a dialog at this point, notifying the user of - * the unresponsive client so they have a chance to abort its shutdown. - */ + mb_wm_handle_hang_client (client->wmref, client); - mb_wm_client_shutdown (client); + mb_wm_client_ping_stop (client); return False; } |