-dump of the actual json reply from the AFB.
-
-==== Commands
-* `wm-request requestsurface $NAME`: request the surface with $NAME,
- this will succeed only if the surface name is not yet (or anymore)
- known. The actual call return is in the "response" json object of the
- reply.
-* `wm-request activatesurface $NAME`: activate the surface with $NAME.
- This call will only succeed of the surface is available and not
- currently active. The reply just contains failure/success information,
- but no actual return value from the API.
-* `wm-request deactivatesurface $NAME`: deactivate the surface with
- $NAME. This call will only succeed if the surface is currently active,
- no return value is provided by the API.
-* `wm-request ping`: Just send a *ping* to the window manager, can be
- sued to check whether the WindowManager is alive or not.
+dump of the actual json reply from the AFB. When found on the system, it
+will use `pygmentize` to apply syntax highlighting to the returned JSON.
+
+==== Examples
+
+------
+$ wm-request list_drawing_names
+ON-REPLY 1:winman/list_drawing_names: OK
+{
+ "response":{
+ "App1":1,
+ "App2":2,
+ "HomeScreen":3,
+ "OnScreen":4
+ },
+ "jtype":"afb-reply",
+ "request":{
+ "status":"success",
+ "info":"success"
+ }
+}
+$ wm-request activatesurface App1
+ON-REPLY 1:winman/activatesurface: OK
+{
+ "response":{
+ },
+ "jtype":"afb-reply",
+ "request":{
+ "status":"success",
+ "info":"success"
+ }
+}
+$ wm-request activatesurface AppThatDoesNotExist
+ON-REPLY 1:winman/activatesurface: ERROR
+{
+ "jtype":"afb-reply",
+ "request":{
+ "status":"failed",
+ "info":"Surface does not exist"
+ }
+}
+------