Commit Graph

23 Commits

Author SHA1 Message Date
ce9d0f5856
wind: Fix client references being out-of-date in windows when disconnecting other clients
Classic "keeping a pointer to an element inside a vector after the vector is updated" bug, ah yes.
2023-08-21 14:06:58 +02:00
59915a5cd6
wind: Add debug keybind 2023-08-21 14:06:57 +02:00
f3fbfcf8fb
wind+libos+libui: Handle interrupted reads properly 2023-08-21 14:06:57 +02:00
64b93f6664
wind+libui+taskbar: Add GetScreenRect IPC, non-decorated windows, taskbar 2023-08-21 14:06:56 +02:00
23edc6e12a
ui+wind: Send mouse move events through IPC 2023-08-21 14:06:56 +02:00
f1d10af5b2
wind+libui: Add protocol for window close requests 2023-08-21 14:06:55 +02:00
89c11cdffe
libos+libui+wind: Use uppercase for static struct IDs to avoid confusion with fields 2023-08-21 14:06:55 +02:00
ae4b383a16
wind+gclient: Add SetWindowTitle and support shm buffers 2023-08-21 14:06:55 +02:00
e37b2e7b07
wind: Handle CreateWindow IPC messages 2023-08-21 14:06:55 +02:00
6e78cdc356
wind: Monitor data on client connections 2023-08-21 14:06:54 +02:00
71598efb45
wind: Use init --user and pledge() 2023-08-21 14:06:53 +02:00
e188a61499
libos: Remove some shared pointers and change them to owned/live on the stack 2023-08-21 14:06:53 +02:00
34f54a2a16
wind: Spawn a new client process after startup
Also, create the socket after dropping privileges.
2023-08-21 14:06:52 +02:00
265db4b081
libui+wind: Move some static variables inside functions 2023-08-21 14:06:52 +02:00
7fddffdbff
wind: Generate random windows on keypresses 2023-08-21 14:06:51 +02:00
4e9aea19ab
wind: Make sure windows have a minimum size to fit the titlebar 2023-08-21 14:06:51 +02:00
707516276d
wind: Render an actual TGA mouse cursor 2023-08-21 14:06:51 +02:00
44206b1305
wind: Add a close button to windows using a TGA icon 2023-08-21 14:06:51 +02:00
382e2d7492
wind: Add window titlebars using ui::Font 2023-08-21 14:06:50 +02:00
8eca96de64
wind: Reorder drag sequence 2023-08-21 14:06:49 +02:00
6696fd82a1
libui+wind: (Draggable) windows 2023-08-21 14:06:48 +02:00
ec8875e6ea
wind: Create a local server object 2023-08-21 14:06:48 +02:00
59c20b04ee
wind: Add a simple display server skeleton using libui
No client functionality yet, but it's a start.
2023-08-21 14:06:47 +02:00