might help with #3, better check for if the window has focus or not
i'm not 100% sure if this will actually help though as i've not figured out completely how to reproduce the issue
This commit is contained in:
parent
fd84ef242f
commit
0fd299cf44
|
@ -289,7 +289,7 @@ public class Llanfair extends BorderlessFrame implements TableModelListener,
|
|||
* main thread.
|
||||
*/
|
||||
@Override public void nativeKeyPressed( final NativeKeyEvent event ) {
|
||||
if (Settings.useGlobalHotkeys.get() || this.hasFocus()) {
|
||||
if (Settings.useGlobalHotkeys.get() || this.isFocused()) {
|
||||
int keyCode = event.getKeyCode();
|
||||
boolean hotkeysEnabler = ( keyCode == Settings.hotkeyLock.get() );
|
||||
|
||||
|
|
Reference in a new issue