Closed atterpac closed 3 weeks ago
The changes include an update to the changelog to document a fix for a Linux compile error related to mouse event handling. Additionally, modifications were made to the linuxWebviewWindow
struct, introducing a new method for controlling mouse event reception and simplifying existing methods for managing mouse event ignoring. These updates enhance the structure and functionality of the code related to mouse event management.
Files | Change Summary |
---|---|
mkdocs-website/docs/en/changelog.md |
Added entry for fix on Linux compile error related to IgnoreMouseEvents , linked to PR #3721. |
v3/pkg/application/linux_cgo.go |
Introduced ignoreMouse method to manage GTK widget event handling based on a boolean parameter. |
v3/pkg/application/webview_window_linux.go |
Simplified setIgnoreMouseEvents method to call ignoreMouse , refactoring mouse event handling. |
In a world where events dance and sway,
A rabbit hops in joy today! 🐇
With mouse events now in control,
Our GTK widget plays its role.
Hooray for fixes, bright and new,
A leap of code, a joyful view! 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Description
Recent changes to ignoring mouse events introduced a compile time error on linux due to using GDK C calls without access to the GDK C Lib.
This PR moves the calls to linux_cgo and adds a call to the function in the webview_window_linux.go
Fixes
Linux compile brought up in discord
Doctor
Summary by CodeRabbit
New Features
Bug Fixes
Documentation