mirror of
https://codeberg.org/vyivel/dulcepan/
synced 2025-12-23 02:06:48 +02:00
output: store name
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user