mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 06:25:46 +00:00
Make sure clearAWTFocus() runs in the EDT.
This commit is contained in:
parent
75fe62bbea
commit
4d0aebb39d
1 changed files with 5 additions and 1 deletions
|
|
@ -273,7 +273,11 @@ final class WindowsDisplay implements DisplayImplementation {
|
|||
clearAWTFocus();
|
||||
}
|
||||
});
|
||||
clearAWTFocus();
|
||||
SwingUtilities.invokeLater(new Runnable() {
|
||||
public void run() {
|
||||
clearAWTFocus();
|
||||
}
|
||||
});
|
||||
}
|
||||
grabFocus();
|
||||
} catch (LWJGLException e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue