diff options
Diffstat (limited to 'src/ui/widget.c')
-rw-r--r-- | src/ui/widget.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/widget.c b/src/ui/widget.c index c1c920d2..fa05e8d1 100644 --- a/src/ui/widget.c +++ b/src/ui/widget.c | |||
@@ -23,6 +23,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | |||
23 | #include "widget.h" | 23 | #include "widget.h" |
24 | 24 | ||
25 | #include "app.h" | 25 | #include "app.h" |
26 | #include "periodic.h" | ||
26 | #include "touch.h" | 27 | #include "touch.h" |
27 | #include "command.h" | 28 | #include "command.h" |
28 | #include "paint.h" | 29 | #include "paint.h" |
@@ -99,6 +100,7 @@ static void aboutToBeDestroyed_Widget_(iWidget *d) { | |||
99 | if (flags_Widget(d) & keepOnTop_WidgetFlag) { | 100 | if (flags_Widget(d) & keepOnTop_WidgetFlag) { |
100 | removeOne_PtrArray(onTop_Root(d->root), d); | 101 | removeOne_PtrArray(onTop_Root(d->root), d); |
101 | } | 102 | } |
103 | remove_Periodic(periodic_App(), d); | ||
102 | if (isHover_Widget(d)) { | 104 | if (isHover_Widget(d)) { |
103 | get_Window()->hover = NULL; | 105 | get_Window()->hover = NULL; |
104 | } | 106 | } |