diff options
author | Benji Dial <benji6283@gmail.com> | 2021-03-05 18:07:48 -0500 |
---|---|---|
committer | Benji Dial <benji6283@gmail.com> | 2021-03-05 18:07:48 -0500 |
commit | 76e39eac8cee2175ec62a191f7c91ca53857e80c (patch) | |
tree | 156946f6e8f491235453aa3cbecfda43d6baa2a7 /src/user/raleigh/runtime.cpp | |
parent | 5e5e524f08ad653a7bf5d6e97f3a49f6c27d08fa (diff) | |
download | portland-os-76e39eac8cee2175ec62a191f7c91ca53857e80c.tar.gz |
more raleigh, including button and vbox widgets
Diffstat (limited to 'src/user/raleigh/runtime.cpp')
-rw-r--r-- | src/user/raleigh/runtime.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/user/raleigh/runtime.cpp b/src/user/raleigh/runtime.cpp index 1152575..6dafed1 100644 --- a/src/user/raleigh/runtime.cpp +++ b/src/user/raleigh/runtime.cpp @@ -11,9 +11,12 @@ namespace raleigh { if (!open_windows.first) __pcrt_quit(); for (dllist<window &>::node *w = open_windows.first; w; w = w->next) - if (w->d.try_actions() == window::DELETE) + if (w->d.try_actions() == window::DELETE) { + _delete_window(w->d.handle); + w->d.handle = 0; if (!(w = open_windows.remove_in_place(w))) break; + } _wait_for_action(); _yield_task(); } |