backend: dummy: change type of ps parameter to session_t in dummy_init

This commit is contained in:
Maxim Solovyov 2023-08-03 01:04:56 +03:00
parent 825cc563e1
commit 156423c010
No known key found for this signature in database
1 changed files with 1 additions and 2 deletions

View File

@ -28,8 +28,7 @@ struct dummy_data {
struct backend_image mask;
};
struct backend_base *
dummy_init(struct session *ps attr_unused, xcb_window_t target attr_unused) {
struct backend_base *dummy_init(session_t *ps attr_unused, xcb_window_t target attr_unused) {
auto ret = (struct backend_base *)ccalloc(1, struct dummy_data);
ret->c = &ps->c;
ret->loop = ps->loop;