mirror of
https://github.com/NickHu/sway
synced 2024-12-25 21:58:16 +01:00
lock: listen to the correct map signal
This commit is contained in:
parent
c9e1dab318
commit
c001a57e8b
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ static void handle_new_surface(struct wl_listener *listener, void *data) {
|
|||
surf->surface = lock_surface->surface;
|
||||
surf->output = output;
|
||||
surf->map.notify = handle_surface_map;
|
||||
wl_signal_add(&lock_surface->events.map, &surf->map);
|
||||
wl_signal_add(&lock_surface->surface->events.map, &surf->map);
|
||||
surf->destroy.notify = handle_surface_destroy;
|
||||
wl_signal_add(&lock_surface->events.destroy, &surf->destroy);
|
||||
surf->surface_commit.notify = handle_surface_commit;
|
||||
|
|
Loading…
Reference in a new issue