Skip to content

Commit

Permalink
cleanup(data-device): example println capitalization
Browse files Browse the repository at this point in the history
  • Loading branch information
wash2 committed Sep 22, 2023
1 parent a97e989 commit 48d4613
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/data_device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ impl DataDeviceHandler for DataDeviceWindow {
}

fn leave(&mut self, _conn: &Connection, _qh: &QueueHandle<Self>, _data_device: &WlDataDevice) {
println!("data offer left");
println!("Data offer left");
}

fn motion(
Expand Down Expand Up @@ -853,7 +853,7 @@ impl DataSourceHandler for DataDeviceWindow {
_qh: &QueueHandle<Self>,
_source: &wayland_client::protocol::wl_data_source::WlDataSource,
) {
println!("DROP PERFORMED");
println!("Drop performed");
}

fn dnd_finished(
Expand All @@ -862,7 +862,7 @@ impl DataSourceHandler for DataDeviceWindow {
_qh: &QueueHandle<Self>,
source: &wayland_client::protocol::wl_data_source::WlDataSource,
) {
println!("FINISHED");
println!("Finished");
self.drag_sources.retain(|s| s.0.inner() != source);
source.destroy();
}
Expand Down

0 comments on commit 48d4613

Please sign in to comment.