summaryrefslogtreecommitdiff
path: root/plugingui/eventhandler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/eventhandler.cc')
-rw-r--r--plugingui/eventhandler.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugingui/eventhandler.cc b/plugingui/eventhandler.cc
index decca01..4200d49 100644
--- a/plugingui/eventhandler.cc
+++ b/plugingui/eventhandler.cc
@@ -67,7 +67,8 @@ void EventHandler::processEvents()
bool block_interaction{false};
for(auto dialog : dialogs)
{
- if(dialog->visible())
+ // Check if the dialog nativewindow (not the contained widget) is visible
+ if(dialog->native->visible())
{
block_interaction |= dialog->isModal();
dialog->eventHandler()->processEvents();