11:56outfoxxed[m]: Do any compositors currently implement ext-image-copy-capture-v1?
11:58soreau: It's still pretty new but there is https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4545
11:59outfoxxed[m]: is that implemented in a consumer of wlroots though?
11:59outfoxxed[m]: or does sway not need more than this
11:59outfoxxed[m]:uploaded an image: (141KiB) < https://matrix.org/oftc/media/v1/media/download/AevUJ3eKgZLATwa3fy1ADXR4l2VKxI1TyX5wTEQKbig0MB8DAY2kTKnSgGEVH3MmUIjz5qNfq8uyjiYSociEsRRCeUnVS8DgAG91dGZveHhlZC5tZS9QZ0txZXRsZElkem9IcVV1VW1ock1DYkE >
11:59outfoxxed[m]: ig if its all WLR that would make sense
12:01outfoxxed[m]: Also, is there a way to correlate WLR and EXT toplevels that isn't just guessing?
13:01llyyr: what do you mean?
13:01llyyr: also yes, that MR and the linked sway MR is all that's required
13:11outfoxxed[m]: <llyyr> "what do you mean?" <- I currently use wlr foreign toplevel handles for window management, and need an ext foreign toplevel for the ext toplevel image capture
13:12outfoxxed[m]: I'm wondering if theres a better way to tell which ones are the same window than guessing with creation time and other props
15:11Consolatis: nope, sadly there is not. its guessing
15:13Consolatis: thus why in practice everything depends on https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/196
15:15Consolatis: (note that the wlroots implementation for ext-image-copy-capture-v1 also misses the toplevel capture part though)
15:18Consolatis: and when that is implemented in wlroots, sway and other wlroots based compositors do need some more work to attach 'surfaces' (or wlr_scene_trees) to ext-foreign-toplevel-handle-v1 instances
18:12vyivel: two questions about my favorite wayland protocol extension
18:13vyivel: 1) what's the correct way to handle multiple xdg_popup.grab requests on the compositor side? pick the first, the last, dismiss the popup if at least one of them is invalid, something else?
18:14vyivel: 2) at what point xdg_popup grab becomes active? at the time of xdg_popup.grab, on initial surface commit, or when the popup is mapped?
22:18wlb: wayland/main: Haihua Hu * util: reduce error of wl_fixed_from_double() https://gitlab.freedesktop.org/wayland/wayland/commit/f246e619d17d src/wayland-util.h
22:18wlb: wayland Merge request !448 merged \o/ (util: reduce error of wl_fixed_from_double() https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/448)