wlroots-hyprland/examples
Simon Ser 41b7acbab7 backend: return wlr_session in wlr_backend_autocreate() call
Up until now, wlr_backend_autocreate() created the wlr_session and
then stuffed it into struct wlr_multi_backend so that compositors
can grab it later.

This is an abuse of wlr_multi_backend and the wlr_backend API:
wlr_backend_get_session() and wlr_multi_backend.session only exist
to accomodate the needs of wlr_backend_autocreate(). What's more,
the DRM and libinput backends don't implement
wlr_backend_impl.get_session.

Instead, return the struct wlr_session to the compositor in the
wlr_backend_autocreate() call. wlr_backend_get_session() will be
removed in the next commit.
2022-11-15 21:16:25 +00:00
..
.gitignore Add xdg shell stubs 2017-08-09 12:31:16 -04:00
cat.c Moved cat out of support, removed support 2018-05-10 19:03:56 -07:00
cat.h Moved cat out of support, removed support 2018-05-10 19:03:56 -07:00
dmabuf-capture.c Fixed compiling with FFmpeg 5.0 2022-02-21 15:51:17 +01:00
egl_common.c examples/egl_common: switch rgba format 2022-05-09 09:38:32 +00:00
egl_common.h examples: remove dependency on wlr_egl from clients 2021-01-29 10:03:24 +01:00
foreign-toplevel.c examples/foreign-toplevel: fix toplevel not being freed 2021-10-07 20:36:21 +02:00
fullscreen-shell.c backend: return wlr_session in wlr_backend_autocreate() call 2022-11-15 21:16:25 +00:00
gamma-control.c Remove unnecessary wl_display_dispatch calls 2020-08-24 07:55:35 -06:00
idle-inhibit.c examples: drop wlr/render/egl.h include from client examples 2021-02-14 16:49:54 +01:00
idle.c Remove unnecessary wl_display_dispatch calls 2020-08-24 07:55:35 -06:00
input-inhibitor.c examples: drop wlr/render/egl.h include from client examples 2021-02-14 16:49:54 +01:00
input-method-keyboard-grab.c Remove unnecessary wl_display_dispatch calls 2020-08-24 07:55:35 -06:00
input-method.c examples/input-method: Don't crash on NULL surrounding text 2022-03-02 14:28:58 +00:00
keyboard-shortcuts-inhibit.c examples: drop wlr/render/egl.h include from client examples 2021-02-14 16:49:54 +01:00
layer-shell.c examples/layer-shell: premultiply alpha 2022-05-09 10:08:44 +00:00
meson.build build: make GBM optional 2022-05-30 13:30:08 +00:00
multi-pointer.c backend: return wlr_session in wlr_backend_autocreate() call 2022-11-15 21:16:25 +00:00
output-layout.c backend: return wlr_session in wlr_backend_autocreate() call 2022-11-15 21:16:25 +00:00
output-power-management.c Remove unnecessary wl_display_dispatch calls 2020-08-24 07:55:35 -06:00
pointer-constraints.c examples: drop wlr/render/egl.h include from client examples 2021-02-14 16:49:54 +01:00
pointer.c backend: return wlr_session in wlr_backend_autocreate() call 2022-11-15 21:16:25 +00:00
quads.c backend: return wlr_session in wlr_backend_autocreate() call 2022-11-15 21:16:25 +00:00
relative-pointer-unstable-v1.c examples: drop wlr/render/egl.h include from client examples 2021-02-14 16:49:54 +01:00
rotation.c backend: return wlr_session in wlr_backend_autocreate() call 2022-11-15 21:16:25 +00:00
scene-graph.c backend: return wlr_session in wlr_backend_autocreate() call 2022-11-15 21:16:25 +00:00
screencopy-dmabuf.c examples/screencopy-dmabuf: stop using strncpy 2022-06-04 23:03:39 +02:00
screencopy.c examples: use `perror` instead of `fprintf` GNU %m `printf` extension 2020-10-11 06:36:23 +02:00
simple.c backend: return wlr_session in wlr_backend_autocreate() call 2022-11-15 21:16:25 +00:00
tablet.c backend: return wlr_session in wlr_backend_autocreate() call 2022-11-15 21:16:25 +00:00
text-input.c examples/text-input: stop using strcpy/strcat 2022-06-04 23:02:42 +02:00
toplevel-decoration.c examples: drop wlr/render/egl.h include from client examples 2021-02-14 16:49:54 +01:00
touch.c backend: return wlr_session in wlr_backend_autocreate() call 2022-11-15 21:16:25 +00:00
virtual-pointer.c Flush events in virtual pointer example 2021-05-22 13:36:30 +02:00