mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-02 17:28:33 +00:00
InputCommon: Implement xlib window change logic.
This commit is contained in:
parent
341f99a3f1
commit
3665f7abac
2 changed files with 13 additions and 2 deletions
|
@ -128,7 +128,7 @@ void ControllerInterface::RefreshDevices(RefreshReason reason)
|
|||
// or removing them as we are populating them (causing missing or duplicate devices).
|
||||
std::lock_guard lk_population(m_devices_population_mutex);
|
||||
|
||||
#if defined(CIFACE_USE_WIN32) && !defined(CIFACE_USE_XLIB) && !defined(CIFACE_USE_OSX)
|
||||
#if defined(CIFACE_USE_WIN32) && !defined(CIFACE_USE_OSX)
|
||||
// If only the window changed, avoid removing and re-adding all devices.
|
||||
// Instead only refresh devices that require the window handle.
|
||||
if (reason == RefreshReason::WindowChangeOnly)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue