mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
src/overlay.c: clean up timer on exit
This commit is contained in:
parent
63da13a62b
commit
a4d1fcfef2
3 changed files with 15 additions and 0 deletions
|
|
@ -260,3 +260,12 @@ overlay_hide(struct seat *seat)
|
|||
&server->scene->tree);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
overlay_finish(struct seat *seat)
|
||||
{
|
||||
if (seat->overlay.timer) {
|
||||
wl_event_source_remove(seat->overlay.timer);
|
||||
seat->overlay.timer = NULL;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue