Commit Graph

24 Commits

Author SHA1 Message Date
306e387938
wind: Handle ftruncate() and mmap() errors properly 2023-09-12 22:09:44 +02:00
41e47c6b5b
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-09-12 22:09:43 +02:00
e4dfa418d2
wind: Add debug keybind 2023-09-12 22:09:43 +02:00
f0db982c14
wind+libos+libui: Handle interrupted reads properly 2023-09-12 22:09:43 +02:00
7c01bb2a0d
wind+libui+taskbar: Add GetScreenRect IPC, non-decorated windows, taskbar 2023-09-12 22:09:43 +02:00
4f25509465
ui+wind: Send mouse move events through IPC 2023-09-12 22:09:42 +02:00
04626e189f
wind+libui: Add protocol for window close requests 2023-09-12 22:09:42 +02:00
03d7e8d84e
libos+libui+wind: Use uppercase for static struct IDs to avoid confusion with fields 2023-09-12 22:09:42 +02:00
ed572a86c6
wind+gclient: Add SetWindowTitle and support shm buffers 2023-09-12 22:09:42 +02:00
e08667b2d5
wind: Handle CreateWindow IPC messages 2023-09-12 22:09:42 +02:00
8daa2e7b6f
wind: Monitor data on client connections 2023-09-12 22:09:41 +02:00
f0876f4e3f
wind: Use init --user and pledge() 2023-09-12 22:09:41 +02:00
9354a87739
libos: Remove some shared pointers and change them to owned/live on the stack 2023-09-12 22:09:41 +02:00
d7fd0e716c
wind: Spawn a new client process after startup
Also, create the socket after dropping privileges.
2023-09-12 22:09:41 +02:00
194a5c7817
libui+wind: Move some static variables inside functions 2023-09-12 22:09:40 +02:00
cb35de2d8a
wind: Generate random windows on keypresses 2023-09-12 22:09:40 +02:00
70bf977dcc
wind: Make sure windows have a minimum size to fit the titlebar 2023-09-12 22:09:40 +02:00
179dde4cd5
wind: Render an actual TGA mouse cursor 2023-09-12 22:09:40 +02:00
802c6255d9
wind: Add a close button to windows using a TGA icon 2023-09-12 22:09:40 +02:00
18e255da39
wind: Add window titlebars using ui::Font 2023-09-12 22:09:39 +02:00
d117a18328
wind: Reorder drag sequence 2023-09-12 22:09:39 +02:00
821d9ed2f0
libui+wind: (Draggable) windows 2023-09-12 22:09:38 +02:00
9ec4d1c971
wind: Create a local server object 2023-09-12 22:09:38 +02:00
f1533d4f9a
wind: Add a simple display server skeleton using libui
No client functionality yet, but it's a start.
2023-09-12 22:09:38 +02:00