mirror of
https://github.com/cage-kiosk/cage.git
synced 2025-10-29 05:40:19 -04:00
cage: return 0 always in the signal handler
According to the Wayland docs: If the event source is registered for re-check with wl_event_source_check(): 0 for all done, 1 for needing a re-check. If not registered, the return value is ignored and should be zero. See e.g. http://manpages.ubuntu.com/manpages/cosmic/man3/wl_event_source.3.html Since we don't register any of these for re-checking, we should return 0.
This commit is contained in:
parent
8069893b0d
commit
acf5925a86
1 changed files with 1 additions and 1 deletions
2
cage.c
2
cage.c
|
|
@ -100,7 +100,7 @@ handle_signal(int signal, void *data)
|
|||
wl_display_terminate(display);
|
||||
return 0;
|
||||
default:
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue