docs/ipc: document the 'window' field (Thanks jh)

fixes #758
This commit is contained in:
Michael Stapelberg 2012-07-23 11:01:52 +02:00
parent 0f22b105c1
commit b8d77eb59e
1 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,7 @@
IPC interface (interprocess communication) IPC interface (interprocess communication)
========================================== ==========================================
Michael Stapelberg <michael@i3wm.org> Michael Stapelberg <michael@i3wm.org>
February 2012 July 2012
This document describes how to interface with i3 from a separate process. This This document describes how to interface with i3 from a separate process. This
is useful for example to remote-control i3 (to write test cases for example) or is useful for example to remote-control i3 (to write test cases for example) or
@ -296,6 +296,11 @@ window_rect (map)::
geometry (map):: geometry (map)::
The original geometry the window specified when i3 mapped it. Used when The original geometry the window specified when i3 mapped it. Used when
switching a window to floating mode, for example. switching a window to floating mode, for example.
window (integer)::
The X11 window ID of the *actual client window* inside this container.
This field is set to null for split containers or otherwise empty
containers. This ID corresponds to what xwininfo(1) and other
X11-related tools display (usually in hex).
urgent (bool):: urgent (bool)::
Whether this container (window or workspace) has the urgency hint set. Whether this container (window or workspace) has the urgency hint set.
focused (bool):: focused (bool)::