X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient.c;h=7019f690086e16f881a3a2efd0a3c24aaed31a47;hb=d790dc162d24cfdcc236114b50c51af62612646a;hp=5e4e52e748ca8b73f53c9d53af4dea710cebf155;hpb=2b5d4b69974aba63f0c22cd5e4b91c456cd70f68;p=chaz%2Fopenbox diff --git a/openbox/client.c b/openbox/client.c index 5e4e52e7..7019f690 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -1507,6 +1507,10 @@ void client_update_protocols(ObClient *self) /* if this protocol is requested, then the window will be notified whenever we want it to receive focus */ self->focus_notify = TRUE; + else if (proto[i] == prop_atoms.net_wm_ping) + /* if this protocol is requested, then the window will allow + pings to determine if it is still alive */ + self->ping = TRUE; #ifdef SYNC else if (proto[i] == prop_atoms.net_wm_sync_request) /* if this protocol is requested, then resizing the