Dunst
Lightweight notification daemon
Loading...
Searching...
No Matches
wl_output.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause */
9
10#ifndef DUNST_WL_OUTPUT_H
11#define DUNST_WL_OUTPUT_H
12
13#include <stdint.h>
14#include <stdbool.h>
15#include <wayland-client.h>
16#include <wayland-util.h>
17
19 uint32_t global_name;
20 char *name;
21 struct wl_output *wl_output;
22 struct wl_list link;
23
24 uint32_t scale;
25 uint32_t subpixel; // TODO do something with it
26 int32_t width, height;
27 bool fullscreen;
28 struct zwlr_foreign_toplevel_handle_v1 *fullscreen_toplevel; // the toplevel that is fullscreened on this output
29};
30
31void create_output(struct wl_registry *registry, uint32_t global_name, uint32_t version);
32void destroy_output(struct dunst_output *seat);
33
34#endif