Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use correct indefinite article before "xdg"
Since the abbreviation "XDG" starts with a vowel sound, the correct
article is "an."

Signed-off-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org>
  • Loading branch information
zzag committed Jun 19, 2020
1 parent 684cd23 commit 6be6e00
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions stable/xdg-shell/xdg-shell.xml
Expand Up @@ -389,7 +389,7 @@

<request name="set_parent_configure" since="3">
<description summary="set parent configure this is a response to">
Set the serial of a xdg_surface.configure event this positioner will be
Set the serial of an xdg_surface.configure event this positioner will be
used in response to. The compositor may use this information together
with set_parent_size to determine what future state the popup should be
constrained using.
Expand Down Expand Up @@ -1213,12 +1213,12 @@

If the popup is repositioned in response to a configure event for its
parent, the client should send an xdg_positioner.set_parent_configure
and possibly a xdg_positioner.set_parent_size request to allow the
and possibly an xdg_positioner.set_parent_size request to allow the
compositor to properly constrain the popup.

If the popup is repositioned together with a parent that is being
resized, but not in response to a configure event, the client should
send a xdg_positioner.set_parent_size request.
send an xdg_positioner.set_parent_size request.
</description>
<arg name="positioner" type="object" interface="xdg_positioner"/>
<arg name="token" type="uint" summary="reposition request token"/>
Expand Down
4 changes: 2 additions & 2 deletions unstable/xdg-decoration/xdg-decoration-unstable-v1.xml
Expand Up @@ -113,7 +113,7 @@
that the client prefers the provided decoration mode.

After requesting a decoration mode, the compositor will respond by
emitting a xdg_surface.configure event. The client should then update
emitting an xdg_surface.configure event. The client should then update
its content, drawing it without decorations if the received mode is
server-side decorations. The client must also acknowledge the configure
when committing the new content (see xdg_surface.ack_configure).
Expand All @@ -122,7 +122,7 @@
different mode instead.

Clients whose decoration mode depend on the xdg_toplevel state may send
a set_mode request in response to a xdg_surface.configure event and wait
a set_mode request in response to an xdg_surface.configure event and wait
for the next xdg_surface.configure event to prevent unwanted state.
Such clients are responsible for preventing configure loops and must
make sure not to send multiple successive set_mode requests with the
Expand Down
6 changes: 3 additions & 3 deletions unstable/xdg-foreign/xdg-foreign-unstable-v1.xml
Expand Up @@ -77,7 +77,7 @@
corresponding interface and event for details.

A surface may be exported multiple times, and each exported handle may
be used to create a xdg_imported multiple times. Only xdg_surface
be used to create an xdg_imported multiple times. Only xdg_surface
surfaces may be exported.
</description>
<arg name="id" type="new_id" interface="zxdg_exported_v1"
Expand Down Expand Up @@ -118,7 +118,7 @@

<interface name="zxdg_exported_v1" version="1">
<description summary="an exported surface handle">
A xdg_exported object represents an exported reference to a surface. The
An xdg_exported object represents an exported reference to a surface. The
exported surface may be referenced as long as the xdg_exported object not
destroyed. Destroying the xdg_exported invalidates any relationship the
importer may have established using xdg_imported.
Expand All @@ -145,7 +145,7 @@

<interface name="zxdg_imported_v1" version="1">
<description summary="an imported surface handle">
A xdg_imported object represents an imported reference to surface exported
An xdg_imported object represents an imported reference to surface exported
by some client. A client can use this interface to manipulate
relationships between its own surfaces and the imported surface.
</description>
Expand Down
8 changes: 4 additions & 4 deletions unstable/xdg-foreign/xdg-foreign-unstable-v2.xml
Expand Up @@ -77,7 +77,7 @@
corresponding interface and event for details.

A surface may be exported multiple times, and each exported handle may
be used to create a xdg_imported multiple times. Only xdg_toplevel
be used to create an xdg_imported multiple times. Only xdg_toplevel
equivalent surfaces may be exported.
</description>
<arg name="id" type="new_id" interface="zxdg_exported_v2"
Expand Down Expand Up @@ -118,7 +118,7 @@

<interface name="zxdg_exported_v2" version="1">
<description summary="an exported surface handle">
A xdg_exported object represents an exported reference to a surface. The
An xdg_exported object represents an exported reference to a surface. The
exported surface may be referenced as long as the xdg_exported object not
destroyed. Destroying the xdg_exported invalidates any relationship the
importer may have established using xdg_imported.
Expand All @@ -145,7 +145,7 @@

<interface name="zxdg_imported_v2" version="1">
<description summary="an imported surface handle">
A xdg_imported object represents an imported reference to surface exported
An xdg_imported object represents an imported reference to surface exported
by some client. A client can use this interface to manipulate
relationships between its own surfaces and the imported surface.
</description>
Expand All @@ -161,7 +161,7 @@
<request name="set_parent_of">
<description summary="set as the parent of some surface">
Set the imported surface as the parent of some surface of the client.
The passed surface must be a xdg_toplevel equivalent. Calling this
The passed surface must be an xdg_toplevel equivalent. Calling this
function sets up a surface to surface relation with the same stacking
and positioning semantics as xdg_toplevel.set_parent.
</description>
Expand Down
2 changes: 1 addition & 1 deletion unstable/xdg-shell/xdg-shell-unstable-v6.xml
Expand Up @@ -389,7 +389,7 @@
also be treated as errors.

For a surface to be mapped by the compositor, the following conditions
must be met: (1) the client has assigned a xdg_surface based role to the
must be met: (1) the client has assigned an xdg_surface based role to the
surface, (2) the client has set and committed the xdg_surface state and
the role dependent state to the surface and (3) the client has committed a
buffer to the surface.
Expand Down

0 comments on commit 6be6e00

Please sign in to comment.