There was an error fetching the commit references. Please try again later.
EmuWindow: Clip mouse input coordinates to emulated screen dimensions.
If the mouse position for a mouse move/drag would take it outside the emulated screen dimensions, clip the coordinates to the emulated screen dimensions. Qt and GLFW will report negative coordinates for mouse positions to the left, or above citra window. Added restriction to mouse coordinates passed to touchmoved by Qt/GLFW to be greater or equal to zero.
Showing
- src/citra/emu_window/emu_window_glfw.cpp 1 addition, 1 deletionsrc/citra/emu_window/emu_window_glfw.cpp
- src/citra_qt/bootmanager.cpp 1 addition, 1 deletionsrc/citra_qt/bootmanager.cpp
- src/common/emu_window.cpp 16 additions, 6 deletionssrc/common/emu_window.cpp
- src/common/emu_window.h 5 additions, 0 deletionssrc/common/emu_window.h
Loading
Please register or sign in to comment