forked from AuroraMiddleware/gtk
4dcacff312
Currently, we have all the plumbing in place so that GTK consumes the startup notification ID when focusing a window through the xdg-activation protocol. This however misses the case that a window might be requested to be focused with no startup ID (i.e. via interaction with the application, not through GApplication or other application launching logic). In this case, we let the application create a token that will be consumed by itself. The serial used is that from the last interaction, so the compositor will still be able to do focus prevention logic if it applies. Since we already do have a last serial at hand, prefer xdg-activation all the way over the now stale gtk-shell focusing support. The timestamp argument becomes unused, but that is a weak argument to prefer the private protocol over the standard one. The gtk-shell protocol support is so far left for interaction with older Mutter. |
||
---|---|---|
.. | ||
cursor | ||
protocol | ||
gdkapplaunchcontext-wayland.c | ||
gdkcairocontext-wayland.c | ||
gdkcairocontext-wayland.h | ||
gdkclipboard-wayland.c | ||
gdkclipboard-wayland.h | ||
gdkcursor-wayland.c | ||
gdkdevice-wayland-private.h | ||
gdkdevice-wayland.c | ||
gdkdisplay-wayland.c | ||
gdkdisplay-wayland.h | ||
gdkdrag-wayland.c | ||
gdkdrop-wayland.c | ||
gdkeventsource.c | ||
gdkglcontext-wayland.c | ||
gdkglcontext-wayland.h | ||
gdkkeys-wayland.c | ||
gdkmonitor-wayland.c | ||
gdkmonitor-wayland.h | ||
gdkprimary-wayland.c | ||
gdkprimary-wayland.h | ||
gdkprivate-wayland.h | ||
gdkseat-wayland.h | ||
gdksurface-wayland.c | ||
gdksurface-wayland.h | ||
gdkvulkancontext-wayland.c | ||
gdkvulkancontext-wayland.h | ||
gdkwayland.h | ||
gdkwaylanddevice.h | ||
gdkwaylanddisplay.h | ||
gdkwaylandglcontext.h | ||
gdkwaylandmonitor.h | ||
gdkwaylandseat.h | ||
gdkwaylandsurface.h | ||
meson.build | ||
wm-button-layout-translation.c | ||
wm-button-layout-translation.h |