Skip to content

Commit a6df591

Browse files
compilerintrinsicsCobrand
authored andcommitted
Add missing window_id field to Event::DropFile
1 parent 4bb6b9a commit a6df591

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sdl2/event.rs

+2
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,7 @@ pub enum Event {
691691

692692
DropFile {
693693
timestamp: u32,
694+
window_id: u32,
694695
filename: String
695696
},
696697

@@ -1573,6 +1574,7 @@ impl Event {
15731574

15741575
Event::DropFile {
15751576
timestamp: event.timestamp,
1577+
window_id: event.windowID,
15761578
filename: text
15771579
}
15781580
}

0 commit comments

Comments
 (0)