00:09 DemiMarie: kelnos: what about patching GTK to expose the hooks you need?
00:11 DemiMarie: Is Weston a thing outside of embedded?
00:12 kelnos: i've thought about that, but i'm concerned the gtk maintainers wouldn't go for it (it would tie them to xdg-surface as the shell they use, etc.). gtk3 is also seemingly in maintenance-only mode, another hurdle. but i suppose it wouldn't hurt to ask. i'm currently targeting whatever gtk version will be stable in a year and a half or so, so now is probably a good time to get something like that in
00:15 DemiMarie: kelnos: port to gtk4?
00:16 kelnos: not feasible. xfce just made it to gtk3 not too long ago. gtk4 port would take many years. and gtk4 removes some things that we need (like GtkPlug/GtkSocket for X11, and gdk_window_foreign_new())
00:16 kelnos: (and frankly we just don't like the direction gtk4 has gone in)
00:17 DemiMarie: in that case you are probably better off with a new toolkit
00:35 kelnos: yup, but that is a problem for another year
08:05 pq: kelnos, I am confused by you fighting with gtk but also saying that your nested compositor is not using gtk. A nested compositor that mostly just forwards things through may be best written without any client-side toolkit towards its parent compositor, since client-side toolkits generally do not consider that use case and their desire to abstract away Wayland details is actively harmful in achieving that.
08:59 kelnos: pq: the nested compositor library does not itself use gtk, but the goal is to allow an app that is written using gtk to embed the compositor in it
09:00 pq: oh, ouch
09:00 kelnos: "ouch" does sum it up quite well
09:02 kelnos: at any rate, i did temporarily solve my problem... by reading gtk's internal implementation headers so i could steal the xdg_surface/xdg_toplevel pointers from GdkWindowImplWayland instances. not a long-term solution (though this sort of approach does work for libgtk-layer-shell), but good enough for now so i can continue to make progress
09:20 wlb: weston Issue #734 opened by Pekka Paalanen (pq) Test ORIGIN_BOTTOM_LEFT buffer composition https://gitlab.freedesktop.org/wayland/weston/-/issues/734 [Testing], [DRM/KMS backend], [Pixman renderer]