]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
check if a client will respond to pings
[chaz/openbox] / openbox / client.c
index 5e4e52e748ca8b73f53c9d53af4dea710cebf155..7019f690086e16f881a3a2efd0a3c24aaed31a47 100644 (file)
@@ -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
This page took 0.025055 seconds and 4 git commands to generate.