wl_event_queue(3)
β¨ NAME β¨
wl_event_queue β a whole queue just for wl_proxy object events π
πΈ SYNOPSIS πΈ
#include <wayland-client-core.h>
π Public Member Functions π
void wl_event_queue_destroy (struct wl_event_queue *queue)
π¦ Detailed Description π¦
okay so bestie, picture this: it's a queue. for wl_proxy object events. that's the whole vibe π
the way event queues work is that they let the events on a display get handled in a thread-safe manner π like, multiple threads, no chaos, no fighting over the same events, we love a peaceful household fr fr.
if you want the full tea, go peek at wl_display for the details π
π Member Function Documentation π
void wl_event_queue_destroy (struct wl_event_queue * queue) β destroy an event queue π
Parameters
queueβ the event queue that's getting destroyed, rip boo π«Ά
so what this does: it destroys the given event queue. and listen β any pending event on that queue is discarded π like, gone, bye, evaporated, not coming back. so make sure you actually wanted that.
β οΈ and this part MATTERS: the wl_display object that was used to create the queue should not be destroyed until all event queues created with it are destroyed with this function. no cap. display goes last, periodt. otherwise you're out here with queues pointing at a display that doesn't exist anymore and that's not the main character energy you want π
π Author π
generated automatically by Doxygen for Wayland, straight from the source code β¨ (yes the robots wrote the docs, iconic of them honestly π€π)
and that's the whole page bestie, slay π
β brought to you by Wayland, Version 1.26.0, and the fine folks behind wl_event_queue(3) πΈπ¦π
π¦ where this page comes from
- arch rolling: wayland-docs 1.26.0-1 Β· MIT
- fedora 43: wayland-devel 1.26.0-1.fc43 Β· MIT
- fedora 43: wayland-devel 1.26.0-1.fc43 Β· MIT
- fedora 44: wayland-devel 1.26.0-1.fc44 Β· MIT
- fedora 44: wayland-devel 1.26.0-1.fc44 Β· MIT
- nixpkgs unstable: wayland 1.26.0
- ubuntu stonking: libwayland-doc 1.26.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms