mirror of
https://github.com/edubart/otclient.git
synced 2025-10-22 23:35:54 +02:00
fix release keys on x11, remove ping addon, fix minor issue in outfit render, fix emblem updates
This commit is contained in:
@@ -91,6 +91,19 @@ void PlatformWindow::processKeyRelease(Fw::Key keyCode)
|
||||
}
|
||||
}
|
||||
|
||||
void PlatformWindow::releaseAllKeys()
|
||||
{
|
||||
for(auto it : m_keysState) {
|
||||
Fw::Key keyCode = it.first;
|
||||
bool pressed = it.second;
|
||||
|
||||
if(!pressed)
|
||||
continue;
|
||||
|
||||
processKeyRelease(keyCode);
|
||||
}
|
||||
}
|
||||
|
||||
void PlatformWindow::fireKeysPress()
|
||||
{
|
||||
// avoid massive checks
|
||||
@@ -119,4 +132,3 @@ void PlatformWindow::fireKeysPress()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user