mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-08 16:04:39 +00:00
fix: Keyboard focus handling broken when using Display.setParent() applets on Ubunutu (strangly worked on OpenSuse), hopefully should be fixed now.
This commit is contained in:
parent
77306f770a
commit
71b226f979
1 changed files with 4 additions and 4 deletions
|
|
@ -880,12 +880,12 @@ final class LinuxDisplay implements DisplayImplementation {
|
|||
setInputFocusUnsafe(current_window);
|
||||
}
|
||||
else if (xembedded) {
|
||||
setInputFocusUnsafe(0);
|
||||
setInputFocusUnsafe(1);
|
||||
}
|
||||
}
|
||||
else if (parent_focus && !focused) {
|
||||
setInputFocusUnsafe(current_window);
|
||||
}
|
||||
//else if (parent_focus && !focused && !xembedded) {
|
||||
// setInputFocusUnsafe(current_window);
|
||||
//}
|
||||
}
|
||||
|
||||
private void setFocused(boolean got_focus, int focus_detail) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue