From 6cf7cd267b50fa68d7531655911620f17dde4a63 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Mon, 29 Jul 2024 23:03:57 -0400 Subject: window moving and focusing --- applications/goldman/source/socket.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'applications/goldman/source/socket.cpp') diff --git a/applications/goldman/source/socket.cpp b/applications/goldman/source/socket.cpp index aa9b85e..79849df 100644 --- a/applications/goldman/source/socket.cpp +++ b/applications/goldman/source/socket.cpp @@ -129,7 +129,10 @@ struct socket_state { euler::syscall::set_thread_name("socket thread"); - window *w = new window(); + int x, y; + r->get_cursor(x, y); + + window *w = new window(x, y); socket_state *state = new socket_state { .socket = socket, .w = w }; -- cgit v1.2.3