From 685293b9787b3642a21edc90408eb6d11d3c105b Mon Sep 17 00:00:00 2001 From: Esme Povirk Date: Wed, 31 Jul 2024 20:29:43 +0000 Subject: [PATCH] main.gudl: Generalize Qt web view recurse hack. --- xalia/main.gudl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xalia/main.gudl b/xalia/main.gudl index 9a27fb3..df567ae 100644 --- a/xalia/main.gudl +++ b/xalia/main.gudl @@ -786,8 +786,8 @@ if (is_uia_element and uia_control_type.custom and msaa_role.(push_button or cli recurse: true; } -if (is_uia_element and uia_control_type.(text or list_item) and toolkit == "Qt") { - // In Qt web views, these can contain edit boxes +if ((text or list_item) and ancestor_matches(document)) { + // These might contain just about anything in web views recurse: true; }