From 2205239d9aa734cc3c6c150b0154d306ea97fc22 Mon Sep 17 00:00:00 2001 From: dylanbobb Date: Sat, 5 Jun 2021 14:02:34 -0400 Subject: [PATCH] LibWeb: Change BlockBox to not want mouse events --- Userland/Libraries/LibWeb/Layout/BlockBox.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, const Gfx::IntPoint&, unsigned buttons, unsigned modifiers, int wheel_delta) override; bool should_clip_overflow() const;