mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 06:25:46 +00:00
Linux: Another applet focus tweak
This commit is contained in:
parent
88665c3dae
commit
5d1651b425
1 changed files with 4 additions and 2 deletions
|
|
@ -860,8 +860,10 @@ final class LinuxDisplay implements DisplayImplementation {
|
|||
return;
|
||||
if (focused) {
|
||||
if (xembedded && !parent_focused && parent_focus_window_valid) {
|
||||
setInputFocusUnsafe(parent_focus_window);
|
||||
parent_focus_changed = false;
|
||||
if (nGetInputFocus(getDisplay()) == current_window) {
|
||||
setInputFocusUnsafe(parent_focus_window);
|
||||
parent_focus_changed = false;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (parent_focused) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue