mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-26 14:45:58 +01:00
rootston: use wl-shell surface commit
This commit is contained in:
parent
41d7bad470
commit
20545b09fa
1 changed files with 1 additions and 2 deletions
|
@ -150,8 +150,7 @@ void handle_wl_shell_surface(struct wl_listener *listener, void *data) {
|
||||||
roots_surface->set_state.notify = handle_set_state;
|
roots_surface->set_state.notify = handle_set_state;
|
||||||
wl_signal_add(&surface->events.set_state, &roots_surface->set_state);
|
wl_signal_add(&surface->events.set_state, &roots_surface->set_state);
|
||||||
roots_surface->surface_commit.notify = handle_surface_commit;
|
roots_surface->surface_commit.notify = handle_surface_commit;
|
||||||
wl_signal_add(&surface->surface->events.commit,
|
wl_signal_add(&surface->events.commit, &roots_surface->surface_commit);
|
||||||
&roots_surface->surface_commit);
|
|
||||||
|
|
||||||
struct roots_view *view = calloc(1, sizeof(struct roots_view));
|
struct roots_view *view = calloc(1, sizeof(struct roots_view));
|
||||||
if (!view) {
|
if (!view) {
|
||||||
|
|
Loading…
Reference in a new issue