mirror of
https://codeberg.org/vyivel/dulcepan/
synced 2025-12-22 17:56:49 +02:00
Store sfdo-basedir ctx in state
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define DULCEPAN_H
|
||||
|
||||
#include <cairo.h>
|
||||
#include <sfdo-basedir.h>
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <wayland-util.h>
|
||||
@@ -157,6 +158,8 @@ struct dp_state {
|
||||
|
||||
struct xkb_context *xkb_context;
|
||||
|
||||
struct sfdo_basedir_ctx *basedir_ctx;
|
||||
|
||||
struct wl_list outputs;
|
||||
struct wl_list seats;
|
||||
|
||||
@@ -169,7 +172,7 @@ struct dp_state {
|
||||
bool show_cursors;
|
||||
};
|
||||
|
||||
void dp_config_load(struct dp_config *config, const char *user_path);
|
||||
void dp_config_load(struct dp_state *state, const char *user_path);
|
||||
|
||||
// When done, data must be unmapped
|
||||
struct wl_buffer *dp_buffer_create(struct dp_state *state, int32_t width, int32_t height,
|
||||
|
||||
Reference in New Issue
Block a user