aboutsummaryrefslogtreecommitdiff
path: root/libgui/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgui/gui.c')
-rw-r--r--libgui/gui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgui/gui.c b/libgui/gui.c
index bc8adb1..e4800bc 100644
--- a/libgui/gui.c
+++ b/libgui/gui.c
@@ -15,6 +15,7 @@ s32 gui_new_window(struct gui_window *win)
msg.header.type == (GUI_NEW_WINDOW | MSG_SUCCESS)) {
win->id = msg.id;
win->ctx = msg.ctx;
+ win->ctx.fb = shaccess(msg.shid);
return win->id;
}
return -1;