Skip to content

Commit 3d0a342

Browse files
committed
...
1 parent 916173d commit 3d0a342

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/dnd-protocol.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,15 +293,15 @@ the ``t=o`` key indicating the offer if the data is available.
293293
To associate one or more images with the drag operation, the terminal program
294294
must transmit the data for the image with the ``idx`` value above being a
295295
negative number starting with ``-1`` for the first image and so on. Clients
296-
**must** transmit all images consecutively in order, starting with the frist,
296+
**must** transmit all images consecutively in order, starting with the first,
297297
then the second and so on. When transmitting images, the image data format is
298298
specified using the ``y`` key. A value of ``y=24`` mean 24bit RGB data and
299299
``y=32`` means 32bit RGBA data. Colors in the RGB/A data must be in the sRGB
300300
color space. Using ``y=100`` means the data is a PNG image. Additionally, the
301301
``X`` and ``Y`` keys must be used to specify the width and height of the image
302302
data in pixels. If the size of the transmitted data does not match the image
303303
dimensions the terminal must replay with ``t=E ; EINVAL``. Terminals are free
304-
to impose a limit on the amount of image data, too avoid Denial-of-service
304+
to impose a limit on the amount of image data, to avoid Denial-of-service
305305
attacks. If the image data is too much or the image is too large they must
306306
reply with ``t=E ; EFBIG`` and abort the drag. By default, the drag will be
307307
started using the first image, if any. During the drag, the terminal program

0 commit comments

Comments
 (0)