diff options
Diffstat (limited to 'rsdos/src/main.rs')
| -rw-r--r-- | rsdos/src/main.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rsdos/src/main.rs b/rsdos/src/main.rs index b147e63..6d2fa4a 100644 --- a/rsdos/src/main.rs +++ b/rsdos/src/main.rs | |||
| @@ -413,6 +413,12 @@ pub unsafe extern "efiapi" fn efi_main(image_handle: Handle, system_table: *mut | |||
| 413 | // Windowed GUI: initialise the window manager and its input pump. | 413 | // Windowed GUI: initialise the window manager and its input pump. |
| 414 | // The console (vt) stays layer 0; GUI apps are windows composited on top. | 414 | // The console (vt) stays layer 0; GUI apps are windows composited on top. |
| 415 | rsnix::wm::init(); | 415 | rsnix::wm::init(); |
| 416 | { | ||
| 417 | let t = rsnix::vt::home_terminal(); | ||
| 418 | let (buf, w, h) = t.window_params(); | ||
| 419 | let id = rsnix::wm::create_home_window(buf as *mut u32, w, h); | ||
| 420 | t.set_window(id); | ||
| 421 | } | ||
| 416 | rsnix::wm::spawn_input_pump(); | 422 | rsnix::wm::spawn_input_pump(); |
| 417 | 423 | ||
| 418 | shell::run(); | 424 | shell::run(); |
