Sargun Vohra
06/23/2026, 2:03 AMapplication {} host to a custom glfwApplication host for proper Wayland support and wow it's so nice, resize is fluid, scaling on wayland works properly. It's not even hard to do (though there's a lot of little details to wire up for parity, like menus, input, clipboard, etc), will prob extract this code into a proper library tonight.
As a bonus, controlling the host means I control the gpu context, and can expose a hook for other gpu-accelerated renderers to draw in a shared texture and sample that into a Canvas, getting a super clean implementation of something like thisKaanixir
06/23/2026, 2:38 AMSargun Vohra
06/23/2026, 2:43 AMephemient
06/23/2026, 3:34 AMephemient
06/23/2026, 3:35 AMephemient
06/23/2026, 3:36 AMephemient
06/23/2026, 3:36 AMjw
06/23/2026, 3:38 AMephemient
06/23/2026, 3:38 AMSargun Vohra
06/23/2026, 3:39 AMjw
06/23/2026, 3:39 AMSargun Vohra
06/23/2026, 3:40 AMThere's changes now in the last week or two that make this easier, for what it's worth.say more?
It's worth supporting as a possibility, but probably not as the first-party offering.fair enough, it mostly works just fine as a third party library. I just have to
@OptIn to InternalComposeUiApi in a few places so am tightly coupled to a Compose version, which is reasonableephemient
06/23/2026, 3:40 AMwill later provide an OS integration layer for Compose for Desktop
Sargun Vohra
06/23/2026, 3:43 AMkotlin-desktop-toolkitooh, nice
Sargun Vohra
06/23/2026, 3:48 AMjw
06/23/2026, 3:49 AMSargun Vohra
06/23/2026, 3:49 AMSargun Vohra
06/23/2026, 5:15 AMS.
06/23/2026, 7:47 AMืืืืื ืืืก
06/23/2026, 7:52 AMSargun Vohra
06/23/2026, 10:05 AMSargun Vohra
06/23/2026, 10:07 AMSargun Vohra
06/24/2026, 6:03 AMMichael Paus
06/24/2026, 12:12 PMืืืืื ืืืก
06/24/2026, 12:35 PMืืืืื ืืืก
06/24/2026, 12:36 PMืืืืื ืืืก
06/24/2026, 12:38 PMMichael Paus
06/24/2026, 12:58 PMืืืืื ืืืก
06/24/2026, 1:04 PMNativeView component that makes it possible to overlay a native view and then render Compose on top of it. Long term, I plan to use that for things like WebViews and video playback without relying on offscreen rendering. And in that case, the gains on macOS could become very significant as well.ืืืืื ืืืก
06/24/2026, 1:07 PMืืืืื ืืืก
06/24/2026, 1:10 PMMichael Paus
06/24/2026, 1:36 PMSargun Vohra
06/24/2026, 4:34 PMSargun Vohra
06/24/2026, 11:52 PMA lot of Compose libraries, such as Compose Navigation, do not work well without AWTCurious what issues you encountered with compose navigation? I haven't done anything special for it, and my app seems to work just fine in my glfw host
Kaanixir
06/25/2026, 12:57 AMMichael Paus
06/25/2026, 7:37 AMืืืืื ืืืก
06/25/2026, 7:53 AMืืืืื ืืืก
06/25/2026, 7:54 AMืืืืื ืืืก
06/25/2026, 8:03 AMseb
06/25/2026, 8:03 AMseb
06/25/2026, 8:04 AMseb
06/25/2026, 8:05 AMseb
06/25/2026, 8:06 AMืืืืื ืืืก
06/25/2026, 8:06 AMseb
06/25/2026, 8:09 AMืืืืื ืืืก
06/25/2026, 8:10 AMืืืืื ืืืก
06/25/2026, 8:11 AMseb
06/25/2026, 8:35 AM