docs: use "window" instead of "view" throughout.

"view" is an internal term, while the commonly understood
user-facing term is "window"

Ref: #7323
This commit is contained in:
Mark Stosberg 2025-02-16 16:04:17 -05:00 committed by Simon Ser
parent c1031d8465
commit 10e50e6bf9
2 changed files with 65 additions and 65 deletions

View file

@ -138,7 +138,7 @@ has the following properties:
: Whether the workspace is currently focused by the default seat (_seat0_)
|- urgent
: boolean
: Whether a view on the workspace has the urgent flag set
: Whether a window on the workspace has the urgent flag set
|- rect
: object
: The bounds of the workspace. It consists of _x_, _y_, _width_, and _height_
@ -374,7 +374,7 @@ node and will have the following properties:
that can be used as an aid in submitting reproduction steps for bug reports
|- fullscreen_mode
: integer
: (Only containers and views) The fullscreen mode of the node. 0 means none, 1 means
: (Only containers and windows) The fullscreen mode of the node. 0 means none, 1 means
full workspace, and 2 means global fullscreen
|- floating
: string
@ -384,45 +384,45 @@ node and will have the following properties:
: Whether the window is in the scratchpad. Can be either "none" or "fresh"
|- app_id
: string
: (Only views) For an xdg-shell view, the name of the application, if set.
: (Only windows) For an xdg-shell window, the name of the application, if set.
Otherwise, _null_
|- pid
: integer
: (Only views) The PID of the application that owns the view
: (Only windows) The PID of the application that owns the window
|- foreign_toplevel_identifier
: string
: (Only views) The ext-foreign-toplevel-list-v1 toplevel identifier of this node.
: (Only windows) The ext-foreign-toplevel-list-v1 toplevel identifier of this node.
|- visible
: boolean
: (Only views) Whether the node is visible
: (Only windows) Whether the node is visible
|- shell
: string
: (Only views) The shell of the view, such as _xdg\_shell_ or _xwayland_
: (Only windows) The shell of the window, such as _xdg\_shell_ or _xwayland_
|- inhibit_idle
: boolean
: (Only views) Whether the view is inhibiting the idle state
: (Only windows) Whether the window is inhibiting the idle state
|- idle_inhibitors
: object
: (Only views) An object containing the state of the _application_ and _user_ idle inhibitors.
: (Only windows) An object containing the state of the _application_ and _user_ idle inhibitors.
_application_ can be _enabled_ or _none_.
_user_ can be _focus_, _fullscreen_, _open_, _visible_ or _none_.
|- sandbox_engine
: string
: (Only views) The associated sandbox engine (or _null_)
: (Only windows) The associated sandbox engine (or _null_)
|- sandbox_app_id
: string
: (Only views) The app ID provided by the associated sandbox engine (or _null_)
: (Only windows) The app ID provided by the associated sandbox engine (or _null_)
|- sandbox_instance_id
: string
: (Only views) The instance ID provided by the associated sandbox engine (or
: (Only windows) The instance ID provided by the associated sandbox engine (or
_null_)
|- window
: integer
: (Only xwayland views) The X11 window ID for the xwayland view
: (Only xwayland windows) The X11 window ID for the xwayland window
|- window_properties
: object
: (Only xwayland views) An object containing the _title_, _class_, _instance_,
_window\_role_, _window\_type_, and _transient\_for_ for the view
: (Only xwayland windows) An object containing the _title_, _class_, _instance_,
_window\_role_, _window\_type_, and _transient\_for_ for the window
*Example Reply:*
@ -927,13 +927,13 @@ containing the _#RRGGBBAA_ representation of the color:
that are not visible
|- urgent_workspace_text
: The color to use for the text of the workspace buttons for workspaces that
contain an urgent view
contain an urgent window
|- urgent_workspace_bg
: The color to use for the background of the workspace buttons for workspaces
that contain an urgent view
that contain an urgent window
|- urgent_workspace_border
: The color to use for the border of the workspace buttons for workspaces that
contain an urgent view
contain an urgent window
|- binding_mode_text
: The color to use for the text of the binding mode indicator
|- binding_mode_bg
@ -1480,7 +1480,7 @@ available:
: Sent whenever the binding mode changes
|- 0x80000003
: window
: Sent whenever an event involving a view occurs such as being reparented,
: Sent whenever an event involving a window occurs such as being reparented,
focused, or closed
|- 0x80000004
: barconfig_update
@ -1536,8 +1536,8 @@ The following change types are currently available:
|- rename
: The workspace was renamed
|- urgent
: A view on the workspace has had their urgency hint set or all urgency hints
for views on the workspace have been cleared
: A window on the workspace has had their urgency hint set or all urgency hints
for windows on the workspace have been cleared
|- reload
: The configuration file has been reloaded
@ -1635,7 +1635,7 @@ with the following properties:
## 0x80000003. WINDOW
Sent whenever a change involving a view occurs. The event consists of a single
Sent whenever a change involving a window occurs. The event consists of a single
object with the following properties:
[- *PROPERTY*
@ -1646,30 +1646,30 @@ object with the following properties:
:[ The type of change that occurred. See below for more information
|- container
: object
: An object representing the view effected
: An object representing the window effected
The following change types are currently available:
[- *TYPE*
:- *DESCRIPTION*
|- new
:[ The view was created
:[ The window was created
|- close
: The view was closed
: The window was closed
|- focus
: The view was focused
: The window was focused
|- title
: The view's title has changed
: The window's title has changed
|- fullscreen_mode
: The view's fullscreen mode has changed
: The window's fullscreen mode has changed
|- move
: The view has been reparented in the tree
: The window has been reparented in the tree
|- floating
: The view has become floating or is no longer floating
: The window has become floating or is no longer floating
|- urgent
: The view's urgency hint has changed status
: The window's urgency hint has changed status
|- mark
: A mark has been added or removed from the view
: A mark has been added or removed from the window
*Example Event:*