Dunst
Lightweight notification daemon
Loading...
Searching...
No Matches
foreign_toplevel.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause */
9
10#ifndef DUNST_FOREIGN_TOPLEVEL_H
11#define DUNST_FOREIGN_TOPLEVEL_H
12#include <wayland-client.h>
13
14enum toplevel_state_field {
15 TOPLEVEL_STATE_ACTIVATED = (1 << 0),
16 TOPLEVEL_STATE_FULLSCREEN = (1 << 1),
17 TOPLEVEL_STATE_INVALID = (1 << 2),
18};
19
21 uint32_t state;
22};
23
25 struct wl_list link;
26 struct zwlr_foreign_toplevel_handle_v1 *zwlr_toplevel;
27 struct wl_list output_list;
28
29 uint32_t id;
30 struct toplevel_state current, pending;
31};
32
34 struct dunst_output *dunst_output;
35 struct wl_list link;
36};
37
38extern const struct zwlr_foreign_toplevel_manager_v1_listener toplevel_manager_impl;
39
40extern struct wl_list toplevel_list;
41
42#endif