Skip to content

Commit

Permalink
Backport juce fix
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Jun 21, 2019
1 parent da45e92 commit c5338fa
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1903,6 +1903,9 @@ class LinuxComponentPeer : public ComponentPeer
ScopedXLock xlock (display);
XGetInputFocus (display, &focusedWindow, &revert);

if (focusedWindow == PointerRoot)
return false;

return isParentWindowOf (focusedWindow);
}

Expand Down

0 comments on commit c5338fa

Please sign in to comment.