Skip to content

Commit dcc64a0

Browse files
committed
greptile feedback
1 parent 5a52609 commit dcc64a0

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Core/GameEngineDevice/Source/SDL3Device/GameClient/SDL3Input.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,6 +1044,11 @@ void SDL3InputManager::virtualPulseMouse(Uint8 button, bool down)
10441044
SDL_GetMouseState(&mx, &my);
10451045
clickEvent.button.x = mx;
10461046
clickEvent.button.y = my;
1047+
1048+
if (m_window)
1049+
{
1050+
clickEvent.button.windowID = SDL_GetWindowID(m_window);
1051+
}
10471052

10481053
addMouseSDLEvent(clickEvent);
10491054
}

0 commit comments

Comments
 (0)