Skip to content

Commit 787081a

Browse files
committed
Revert changes to SdlEventProcessor
1 parent 4634117 commit 787081a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

sources/Windowing/Windowing/Implementations/SDL3/SdlEventProcessor.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public static unsafe void DeliverEvent(ref Event @event)
8282
SdlSurface? surface = null;
8383
if (
8484
@event.Type is >= (uint)EventType.WindowFirst and <= (uint)EventType.WindowLast
85-
&& !_surfaces.TryGetValue(@event.Window.WindowId, out surface)
85+
&& !_surfaces.TryGetValue(@event.Window.WindowID, out surface)
8686
)
8787
{
8888
return;
@@ -172,7 +172,7 @@ public static unsafe void DeliverEvent(ref Event @event)
172172
{
173173
foreach (var knownSurface in _surfaces.Values)
174174
{
175-
knownSurface.Impl.OnDisplayCoordinatesChanged(@event.Display.DisplayId);
175+
knownSurface.Impl.OnDisplayCoordinatesChanged(@event.Display.DisplayID);
176176
}
177177
break;
178178
}
@@ -183,7 +183,7 @@ public static unsafe void DeliverEvent(ref Event @event)
183183
foreach (var knownSurface in _surfaces.Values)
184184
{
185185
knownSurface.Impl.OnPotentialVideoModeChanges(
186-
@event.Display.DisplayId,
186+
@event.Display.DisplayID,
187187
out var isDisplayCurrent,
188188
currentDisplay
189189
);
@@ -203,7 +203,7 @@ public static unsafe void DeliverEvent(ref Event @event)
203203
{
204204
Display = @event.Display with
205205
{
206-
DisplayId = currentDisplay = Sdl.GetDisplayForWindow(surface!.Impl.Handle),
206+
DisplayID = currentDisplay = Sdl.GetDisplayForWindow(surface!.Impl.Handle),
207207
},
208208
};
209209
goto case (uint)EventType.DisplayContentScaleChanged;
@@ -283,7 +283,7 @@ public static unsafe void DeliverEvent(ref Event @event)
283283
{
284284
if (
285285
_droppedFiles is null
286-
|| !_surfaces.TryGetValue(@event.Window.WindowId, out surface)
286+
|| !_surfaces.TryGetValue(@event.Window.WindowID, out surface)
287287
)
288288
{
289289
_droppedFiles = null;

0 commit comments

Comments
 (0)