mirror of
https://gitlab.freedesktop.org/wayland/wayland-protocols.git
synced 2025-12-20 03:30:13 +01:00
Fix some trivial typos
Fix typos in protocol files and in python code Signed-off-by: Bartłomiej Maryńczak <marynczakbartlomiej@gmail.com>
This commit is contained in:
parent
24e612f7d7
commit
9bfb27f0a4
5 changed files with 7 additions and 7 deletions
|
|
@ -378,7 +378,7 @@
|
|||
of planes and the format, bad format, non-positive width or
|
||||
height, or bad offset or stride.
|
||||
- INVALID_WL_BUFFER, in case the cause for failure is unknown or
|
||||
plaform specific.
|
||||
platform specific.
|
||||
- the server creates an invalid wl_buffer, marks it as failed and
|
||||
sends a 'failed' event to the client. The result of using this
|
||||
invalid wl_buffer as an argument in any request by the client is
|
||||
|
|
|
|||
|
|
@ -635,7 +635,7 @@
|
|||
attributes (e.g. title, state, stacking, ...) are discarded for
|
||||
an xdg_toplevel surface when it is unmapped. The xdg_toplevel returns to
|
||||
the state it had right after xdg_surface.get_toplevel. The client
|
||||
can re-map the toplevel by perfoming a commit without any buffer
|
||||
can re-map the toplevel by performing a commit without any buffer
|
||||
attached, waiting for a configure event and handling it as usual (see
|
||||
xdg_surface description).
|
||||
|
||||
|
|
|
|||
|
|
@ -245,7 +245,7 @@
|
|||
<description summary="submit the lease request">
|
||||
Submits the lease request and creates a new wp_drm_lease_v1 object.
|
||||
After calling submit the compositor will immediately destroy this
|
||||
object, issuing any more requests will cause a wl_diplay error.
|
||||
object, issuing any more requests will cause a wl_display error.
|
||||
The compositor doesn't make any guarantees about the events of the
|
||||
lease object, clients cannot expect an immediate response.
|
||||
Not requesting any connectors before submitting the lease request
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@ import sys
|
|||
|
||||
execpath, inpath, outpath, *dict_list = sys.argv
|
||||
|
||||
dictonary = {}
|
||||
dictionary = {}
|
||||
while dict_list:
|
||||
key, value, *rest = dict_list
|
||||
dictonary[key] = value
|
||||
dictionary[key] = value
|
||||
dict_list = rest
|
||||
|
||||
infile = open(inpath, 'r')
|
||||
|
|
@ -16,7 +16,7 @@ outfile = open(outpath, 'w')
|
|||
buf = infile.read()
|
||||
infile.close()
|
||||
|
||||
for key, value in dictonary.items():
|
||||
for key, value in dictionary.items():
|
||||
buf = buf.replace('@{}@'.format(key), value)
|
||||
|
||||
outfile.write(buf)
|
||||
|
|
|
|||
|
|
@ -382,7 +382,7 @@
|
|||
of planes and the format, bad format, non-positive width or
|
||||
height, or bad offset or stride.
|
||||
- INVALID_WL_BUFFER, in case the cause for failure is unknown or
|
||||
plaform specific.
|
||||
platform specific.
|
||||
- the server creates an invalid wl_buffer, marks it as failed and
|
||||
sends a 'failed' event to the client. The result of using this
|
||||
invalid wl_buffer as an argument in any request by the client is
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue