summaryrefslogtreecommitdiff
path: root/src/user/popups
diff options
context:
space:
mode:
authorBenji Dial <benji6283@gmail.com>2021-02-16 20:38:53 -0500
committerBenji Dial <benji6283@gmail.com>2021-02-16 20:38:53 -0500
commit47513bd32c256c4f35e3a8ced7d9fd7e15903530 (patch)
treecafdf75d52a954814726e07445063c41bb6599f9 /src/user/popups
parentbd7facc4b5f53481dc85a15ba123361b2758655b (diff)
downloadportland-os-47513bd32c256c4f35e3a8ced7d9fd7e15903530.tar.gz
terminal application with ipc, shift+pause state dumper, hello world for terminal, meminfo popup program
Diffstat (limited to 'src/user/popups')
-rw-r--r--src/user/popups/info.c1
-rw-r--r--src/user/popups/popup.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/src/user/popups/info.c b/src/user/popups/info.c
index 81a09e9..58903c8 100644
--- a/src/user/popups/info.c
+++ b/src/user/popups/info.c
@@ -43,7 +43,6 @@ void info_popup(struct popup *into, const char *msg, uint8_t fg, uint8_t bg) {
into->has_quit = false;
into->quit_binds = (struct key_packet *)info_quits;
- into->free_quit_binds = false;
const uint32_t pitch = info_font->space_width * w + 2 * PADDING;
const uint32_t height = info_font->space_height * h + 2 * PADDING;
diff --git a/src/user/popups/popup.c b/src/user/popups/popup.c
index d214f81..9cdccb4 100644
--- a/src/user/popups/popup.c
+++ b/src/user/popups/popup.c
@@ -30,8 +30,6 @@ void handle_actions(struct popup *p) {
void delete_popup(struct popup *p) {
_delete_window(p->handle);
free_block(p->pixbuf);
- if (p->free_quit_binds)
- free_block(p->quit_binds);
}
void make_modal(struct popup *p) {