1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 19:05:07 +00:00

WebContent: Pass mouse events through to the WebContent process

Just send the incoming mouse events across to the other side and let
LibWeb deal with them. :^)
This commit is contained in:
Andreas Kling 2020-06-17 18:05:08 +02:00
parent 0bac2ad3b3
commit e58a13e3f6
2 changed files with 18 additions and 0 deletions

View file

@ -46,6 +46,9 @@ private:
virtual void paint_event(GUI::PaintEvent&) override;
virtual void resize_event(GUI::ResizeEvent&) override;
virtual void mousedown_event(GUI::MouseEvent&) override;
virtual void mouseup_event(GUI::MouseEvent&) override;
virtual void mousemove_event(GUI::MouseEvent&) override;
WebContentClient& client();