1
0
mirror of https://codeberg.org/vyivel/dulcepan/ synced 2025-12-23 02:06:48 +02:00

output: store name

This commit is contained in:
Kirill Primak
2024-06-24 16:38:02 +03:00
parent 29c6ebf48c
commit 447f2a8e5b
4 changed files with 40 additions and 11 deletions

View File

@@ -31,6 +31,8 @@ struct dp_output {
uint32_t global_name;
struct wl_output *wl_output;
char *name;
struct wl_surface *main_surface;
struct zwlr_layer_surface_v1 *main_layer_surface;
struct wp_viewport *main_viewport;
@@ -198,6 +200,7 @@ void dp_log_error(const char *fmt, ...);
void dp_log_fatal(const char *fmt, ...);
void *dp_zalloc(size_t size);
char *dp_strdup(const char *str);
const char *dp_ext_from_path(const char *path);
enum dp_file_format dp_ext_to_format(const char *ext);