mirror of https://github.com/yshui/picom.git
backend: dummy: change type of ps parameter to session_t in dummy_init
This commit is contained in:
parent
825cc563e1
commit
156423c010
|
@ -28,8 +28,7 @@ struct dummy_data {
|
||||||
struct backend_image mask;
|
struct backend_image mask;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct backend_base *
|
struct backend_base *dummy_init(session_t *ps attr_unused, xcb_window_t target attr_unused) {
|
||||||
dummy_init(struct session *ps attr_unused, xcb_window_t target attr_unused) {
|
|
||||||
auto ret = (struct backend_base *)ccalloc(1, struct dummy_data);
|
auto ret = (struct backend_base *)ccalloc(1, struct dummy_data);
|
||||||
ret->c = &ps->c;
|
ret->c = &ps->c;
|
||||||
ret->loop = ps->loop;
|
ret->loop = ps->loop;
|
||||||
|
|
Loading…
Reference in New Issue