You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I wanted to add the following notes which may help in the documentation for how to run some widgets on macOS.
macOS generally requires drawing from the main thread. The cl-cffi-gtk within-main-loop macro runs on the GTK thread rather than the main thread. This works most of the time, but for some special widgets like the WebKitGTK+ widget, this will not work.
If you manually invoke gtk-main from the cl-cffi-gtk package you can control on which thread things happen (instead of using within-main-loop) you can then force all cl-cffi-gtk operations to happen on the main SBCL thread and then rendering happens correctly.
The text was updated successfully, but these errors were encountered:
Hi, I wanted to add the following notes which may help in the documentation for how to run some widgets on macOS.
macOS generally requires drawing from the main thread. The cl-cffi-gtk within-main-loop macro runs on the GTK thread rather than the main thread. This works most of the time, but for some special widgets like the WebKitGTK+ widget, this will not work.
If you manually invoke gtk-main from the cl-cffi-gtk package you can control on which thread things happen (instead of using within-main-loop) you can then force all cl-cffi-gtk operations to happen on the main SBCL thread and then rendering happens correctly.
The text was updated successfully, but these errors were encountered: