mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-01 14:20:05 -04:00
committed by
GitHub
parent
2a9916103b
commit
f16ed98af4
@@ -1,5 +1,6 @@
|
|||||||
# Unreleased
|
# Unreleased
|
||||||
|
|
||||||
|
- On Wayland and X11, fix diagonal window resize cursor orientation.
|
||||||
- On macOS, drop the event callback before exiting.
|
- On macOS, drop the event callback before exiting.
|
||||||
- On Android, implement `Window::request_redraw`
|
- On Android, implement `Window::request_redraw`
|
||||||
- **Breaking:** On Web, remove the `stdweb` backend.
|
- **Breaking:** On Web, remove the `stdweb` backend.
|
||||||
|
|||||||
@@ -93,8 +93,8 @@ impl WinitPointer {
|
|||||||
CursorIcon::WResize => &["left_side"],
|
CursorIcon::WResize => &["left_side"],
|
||||||
CursorIcon::EwResize => &["h_double_arrow"],
|
CursorIcon::EwResize => &["h_double_arrow"],
|
||||||
CursorIcon::NsResize => &["v_double_arrow"],
|
CursorIcon::NsResize => &["v_double_arrow"],
|
||||||
CursorIcon::NwseResize => &["bd_double_arrow", "size_bdiag"],
|
CursorIcon::NwseResize => &["bd_double_arrow", "size_fdiag"],
|
||||||
CursorIcon::NeswResize => &["fd_double_arrow", "size_fdiag"],
|
CursorIcon::NeswResize => &["fd_double_arrow", "size_bdiag"],
|
||||||
CursorIcon::ColResize => &["split_h", "h_double_arrow"],
|
CursorIcon::ColResize => &["split_h", "h_double_arrow"],
|
||||||
CursorIcon::RowResize => &["split_v", "v_double_arrow"],
|
CursorIcon::RowResize => &["split_v", "v_double_arrow"],
|
||||||
CursorIcon::Text => &["text", "xterm"],
|
CursorIcon::Text => &["text", "xterm"],
|
||||||
|
|||||||
@@ -104,8 +104,8 @@ impl XConnection {
|
|||||||
CursorIcon::WResize => load(b"left_side\0"),
|
CursorIcon::WResize => load(b"left_side\0"),
|
||||||
CursorIcon::EwResize => load(b"h_double_arrow\0"),
|
CursorIcon::EwResize => load(b"h_double_arrow\0"),
|
||||||
CursorIcon::NsResize => load(b"v_double_arrow\0"),
|
CursorIcon::NsResize => load(b"v_double_arrow\0"),
|
||||||
CursorIcon::NwseResize => loadn(&[b"bd_double_arrow\0", b"size_bdiag\0"]),
|
CursorIcon::NwseResize => loadn(&[b"bd_double_arrow\0", b"size_fdiag\0"]),
|
||||||
CursorIcon::NeswResize => loadn(&[b"fd_double_arrow\0", b"size_fdiag\0"]),
|
CursorIcon::NeswResize => loadn(&[b"fd_double_arrow\0", b"size_bdiag\0"]),
|
||||||
CursorIcon::ColResize => loadn(&[b"split_h\0", b"h_double_arrow\0"]),
|
CursorIcon::ColResize => loadn(&[b"split_h\0", b"h_double_arrow\0"]),
|
||||||
CursorIcon::RowResize => loadn(&[b"split_v\0", b"v_double_arrow\0"]),
|
CursorIcon::RowResize => loadn(&[b"split_v\0", b"v_double_arrow\0"]),
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user