sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit c001a57e8bb2912bfce293e71d32fdbe246eae74
parent c9e1dab3187d22ada0232d699e759a628e0ed185
Author: Kirill Primak <vyivel@eclair.cafe>
Date:   Fri,  2 Jun 2023 23:18:39 +0300

lock: listen to the correct map signal

Diffstat:
Msway/lock.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sway/lock.c b/sway/lock.c @@ -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;