mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 06:25:46 +00:00
Applet focus fixes
This commit is contained in:
parent
37ab6afff2
commit
be0fbdf13b
2 changed files with 5 additions and 2 deletions
|
|
@ -468,7 +468,7 @@ final class LinuxDisplay implements DisplayImplementation {
|
|||
private boolean isAncestorXEmbedded(long window) throws LWJGLException {
|
||||
long xembed_atom = internAtom("_XEMBED_INFO", true);
|
||||
if (xembed_atom != None) {
|
||||
long w = parent_window;
|
||||
long w = window;
|
||||
while (w != None) {
|
||||
if (hasProperty(getDisplay(), w, xembed_atom))
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue