summaryrefslogtreecommitdiff
path: root/applications/goldman/source/socket.cpp
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2024-07-29 23:03:57 -0400
committerBenji Dial <benji@benjidial.net>2024-07-29 23:03:57 -0400
commit6cf7cd267b50fa68d7531655911620f17dde4a63 (patch)
treee936ab19c3176d1c5eced6e17847550ed1f420e3 /applications/goldman/source/socket.cpp
parentc34b9191f258ddc15c5b45c000cd0266aed9dead (diff)
downloadhilbert-os-6cf7cd267b50fa68d7531655911620f17dde4a63.tar.gz
window moving and focusing
Diffstat (limited to 'applications/goldman/source/socket.cpp')
-rw-r--r--applications/goldman/source/socket.cpp5
1 files changed, 4 insertions, 1 deletions
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 };