summaryrefslogtreecommitdiff
path: root/src/gui/desktop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/desktop.c')
-rw-r--r--src/gui/desktop.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/desktop.c b/src/gui/desktop.c
index ee4a6e5..7c886b6 100644
--- a/src/gui/desktop.c
+++ b/src/gui/desktop.c
@@ -26,6 +26,9 @@ void desktop_init( desktop_t *desktop, const int w, const int h, const vga_color
composite_widget_init( &desktop->base, NULL, 0, 0, w, h, background_color );
+ desktop->mouse_x = 0;
+ desktop->mouse_y = 0;
+
desktop->vtable = &desktop_vtable;
}