diff options
author | Andreas Kling <kling@serenityos.org> | 2022-02-07 00:04:10 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-02-07 00:04:50 +0100 |
commit | 627ad6c37c7f71026188721315e4821a6aa22f27 (patch) | |
tree | 4d28e1fa747662c9d8f0ca56b5c50c644ca33f88 /Meta/Lagom | |
parent | 386912c01979612d694040f2ca688d6148a63dde (diff) | |
download | serenity-627ad6c37c7f71026188721315e4821a6aa22f27.zip |
LibWeb: Add a proper FocusEvent interface for "focus" and "blur" events
Diffstat (limited to 'Meta/Lagom')
-rw-r--r-- | Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp b/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp index 44876546ca..5cc89376ba 100644 --- a/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp @@ -918,6 +918,8 @@ static NonnullOwnPtr<Interface> parse_interface(StringView filename, StringView static bool is_wrappable_type(Type const& type) { + if (type.name == "EventTarget") + return true; if (type.name == "Node") return true; if (type.name == "Document") |