summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb
diff options
context:
space:
mode:
authordylanbobb <dylan.bobb@hotmail.com>2021-06-05 14:02:34 -0400
committerAndreas Kling <kling@serenityos.org>2021-06-05 22:35:22 +0200
commit2205239d9aa734cc3c6c150b0154d306ea97fc22 (patch)
tree002373abd0f78431524c37de86948b74501496ca /Userland/Libraries/LibWeb
parent1618cffb758658f9dd72124fd646fbd69441ad98 (diff)
downloadserenity-2205239d9aa734cc3c6c150b0154d306ea97fc22.zip
LibWeb: Change BlockBox to not want mouse events
Diffstat (limited to 'Userland/Libraries/LibWeb')
-rw-r--r--Userland/Libraries/LibWeb/Layout/BlockBox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/BlockBox.h b/Userland/Libraries/LibWeb/Layout/BlockBox.h
index 8c00ee0024..4833d80519 100644
--- a/Userland/Libraries/LibWeb/Layout/BlockBox.h
+++ b/Userland/Libraries/LibWeb/Layout/BlockBox.h
@@ -39,7 +39,7 @@ public:
private:
virtual bool is_block_box() const final { return true; }
- virtual bool wants_mouse_events() const override { return true; }
+ virtual bool wants_mouse_events() const override { return false; }
virtual bool handle_mousewheel(Badge<EventHandler>, const Gfx::IntPoint&, unsigned buttons, unsigned modifiers, int wheel_delta) override;
bool should_clip_overflow() const;