Applet focus fixes

This commit is contained in:
Elias Naur 2008-04-13 18:43:27 +00:00
parent 37ab6afff2
commit be0fbdf13b
2 changed files with 5 additions and 2 deletions

View file

@ -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;