Skip to content

Commit feddad0

Browse files
committed
make clearer that the new cursors are non-w3c
1 parent 4ff2467 commit feddad0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/lib.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,14 +254,20 @@ pub enum CursorIcon {
254254
ZoomOut,
255255

256256
/// Indicates that the user will select the action that will be carried out.
257+
///
258+
/// This is a non-standard extension of the w3c, that will only be emitted
259+
/// when used with a wayland backend.
257260
DndAsk,
258261

259262
/// Indicates that something can be moved or resized in any direction.
263+
///
264+
/// This is a non-standard extension of the w3c, that will only be emitted
265+
/// when used with a wayland backend.
260266
AllResize,
261267
}
262268

263269
impl CursorIcon {
264-
/// The name of the cursor icon as defined in w3c standard.
270+
/// The name of the cursor icon as defined in the w3c standard or wayland spec.
265271
///
266272
/// This name most of the time could be passed as is to cursor loading
267273
/// libraries on X11/Wayland and could be used as-is on web.

0 commit comments

Comments
 (0)