Skip to content

Commit dbb55e1

Browse files
committed
docs(wayland): add comments for each fields added
1 parent a9f61b4 commit dbb55e1

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/platform_impl/linux/wayland/seat/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ pub struct WinitSeatState {
6767
/// Whether we have pending modifiers.
6868
modifiers_pending: bool,
6969

70+
/// The current data device.
7071
data_device: Option<DataDevice>,
7172
}
7273

src/platform_impl/linux/wayland/state.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,10 @@ pub struct WinitState {
5656
/// The seat state responsible for all sorts of input.
5757
pub seat_state: SeatState,
5858

59+
// The state of the data device manager.
5960
pub data_device_manager_state: DataDeviceManagerState,
61+
62+
// The active drag and drop offers.
6063
pub dnd_offers: AHashMap<ObjectId, DndOfferState>,
6164

6265
/// The shm for software buffers, such as cursors.

0 commit comments

Comments
 (0)