Fixed a crash with disabled repeating keys on wayland
This commit is contained in:
parent
6a21ca75fb
commit
f7654d3867
@ -425,7 +425,7 @@ public:
|
||||
{
|
||||
CIrrDeviceWayland* device = static_cast<CIrrDeviceWayland*>(data);
|
||||
|
||||
device->m_repeat_rate = 1000 / rate;
|
||||
device->m_repeat_rate = rate == 0 ? 0 : 1000 / rate;
|
||||
device->m_repeat_delay = delay;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user