Browse Source

Linux: Fixed an issue where windows beneath hidden windows would not receive any clicks

tags/2021-05-28
hogliux 7 years ago
parent
commit
1a9df22eee
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      modules/juce_gui_basics/native/juce_linux_X11_Windowing.cpp

+ 3
- 0
modules/juce_gui_basics/native/juce_linux_X11_Windowing.cpp View File

@@ -1789,6 +1789,9 @@ public:
if (c == &component)
break;
if (! c->isVisible())
continue;
if (auto* peer = c->getPeer())
if (peer->contains (localPos + bounds.getPosition() - peer->getBounds().getPosition(), true))
return false;


Loading…
Cancel
Save